X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=tools%2Ftest-virt-tar.sh;h=dec4f4820c3af0219c64058708b9a56c60a5df0b;hb=085a56690611980f438e8af2eb47ebb411465775;hp=40cee90b1dc53034e895f404bc3ab1b3896238d6;hpb=4d900cdac8258daa2e99c6ceb2a4985154e94150;p=libguestfs.git diff --git a/tools/test-virt-tar.sh b/tools/test-virt-tar.sh index 40cee90..dec4f48 100755 --- a/tools/test-virt-tar.sh +++ b/tools/test-virt-tar.sh @@ -6,7 +6,8 @@ set -e # Read out the test directory using virt-tar. ./virt-tar -x ../images/fedora.img /bin test.tar -if [ "$(tar tf test.tar)" != "./ +if [ "$(tar tf test.tar | sort)" != "./ +./ls ./test1 ./test2 ./test3