tests/install-busybox-based-sub-essential-system: busybox 1:1.36.1-6 moved to /usr

This commit is contained in:
Johannes Schauer Marin Rodrigues 2024-01-08 22:36:07 +01:00
parent b4ba78897b
commit ae6dcc001d
Signed by: josch
GPG key ID: F2CBA5C78FBD83E1

View file

@ -22,11 +22,11 @@ chroot /tmp/debian-chroot dpkg-query -f '${binary:Package}\n' -W \
rm /tmp/expected
for cmd in echo cat sed grep; do
test -L /tmp/debian-chroot/bin/$cmd
test "$(readlink /tmp/debian-chroot/bin/$cmd)" = "/bin/busybox"
test "$(readlink /tmp/debian-chroot/bin/$cmd)" = "/usr/bin/busybox"
done
for cmd in sort tee; do
test -L /tmp/debian-chroot/usr/bin/$cmd
test "$(readlink /tmp/debian-chroot/usr/bin/$cmd)" = "/bin/busybox"
test "$(readlink /tmp/debian-chroot/usr/bin/$cmd)" = "/usr/bin/busybox"
done
chroot /tmp/debian-chroot echo foobar \
| chroot /tmp/debian-chroot cat \