test-imagex: Fix test for duplicate image names
authorEric Biggers <ebiggers3@gmail.com>
Tue, 21 May 2013 17:59:59 +0000 (12:59 -0500)
committerEric Biggers <ebiggers3@gmail.com>
Tue, 21 May 2013 17:59:59 +0000 (12:59 -0500)
tests/test-imagex

index 1931c05..902e0f9 100755 (executable)
@@ -175,7 +175,7 @@ if ! test "`imagex info dir.wim | grep 'Image Count' | awk '{print $3}'`" = 2; t
 fi
 
 echo "Testing appending WIM image with existing name (this should generate errors)"
-if imagex append dir2 dir.wim; then
+if imagex append dir2 dir.wim "dir"; then
        error "Adding duplicate image name didn't fail"
 fi
 echo "Testing appending WIM image with new name"