]> wimlib.net Git - wimlib/blobdiff - tests/test-imagex
test-imagex: Fix test for duplicate image names
[wimlib] / tests / test-imagex
index 1931c05f2ae76a05154e653e6b2b54518006a3c7..902e0f977769364dbab76f6509f52381148d6ec2 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)"
 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"
        error "Adding duplicate image name didn't fail"
 fi
 echo "Testing appending WIM image with new name"