Rename internal functions.
[libguestfs.git] / tools / test-virt-ls.sh
1 #!/bin/bash -
2
3 export LANG=C
4 set -e
5
6 # Just a random UUID.
7 uuid=868b1447-0ec5-41bf-a2e5-6a77a4c9b66f
8
9 # Read out the test directory using virt-ls.
10 if [ "$(./virt-ls test.img /bin)" != "test1
11 test2
12 test3
13 test4
14 test5
15 test6
16 test7" ]; then
17     echo "$0: error: unexpected output from virt-ls"
18     exit 1
19 fi