X-Git-Url: http://git.annexia.org/?p=libguestfs.git;a=blobdiff_plain;f=tools%2Ftest-virt-tar.sh;h=14179890669d25b7741e94167a3a001790361377;hp=2239c138d4ee1b7291d6ac3eee9e7697da9b5fb1;hb=cd077b8229731e292798f34dd56892cbfa6f1e0e;hpb=6d4815d3a4921219379bc9ec3cceead217668426;ds=sidebyside diff --git a/tools/test-virt-tar.sh b/tools/test-virt-tar.sh index 2239c13..1417989 100755 --- a/tools/test-virt-tar.sh +++ b/tools/test-virt-tar.sh @@ -4,9 +4,9 @@ export LANG=C set -e # Read out the test directory using virt-tar. -./virt-tar -x ../images/fedora.img /bin test.tar +./virt-tar -x ../tests/guests/fedora.img /bin test.tar -if [ "$(tar tf test.tar)" != "./ +if [ "$(tar tf test.tar | sort)" != "./ ./ls ./test1 ./test2