6 # Read out the test directory using virt-ls.
7 if [ "$(./virt-ls ../images/fedora.img /bin)" != "ls
15 echo "$0: error: unexpected output from virt-ls"
20 output="$(./virt-ls -lR ../images/fedora.img /boot | awk '{print $1 $2 $4}')"
23 -0644/boot/grub/grub.conf
24 d0700/boot/lost+found"
25 if [ "$output" != "$expected" ]; then
26 echo "$0: error: unexpected output from virt-ls -lR"
27 echo "output: ------------------------------------------"
29 echo "expected: ----------------------------------------"
31 echo "--------------------------------------------------"