|
|
|
@ -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 \
|
|
|
|
|