X-Git-Url: https://wimlib.net/git/?p=wimlib;a=blobdiff_plain;f=tests%2Ftest-imagex;h=7d7b144e7697853032f01fd6acc934e7297bce5a;hp=1931c05f2ae76a05154e653e6b2b54518006a3c7;hb=28cc38a7acc5e8658db8a5975a30407282e2fa85;hpb=e8c3ca2d1d0cac3d64985b45a9f654d2029a7518 diff --git a/tests/test-imagex b/tests/test-imagex index 1931c05f..7d7b144e 100755 --- a/tests/test-imagex +++ b/tests/test-imagex @@ -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" @@ -386,7 +386,7 @@ for flag in "--compress=none" "--compress=maximum" "--compress=fast"; do fi # Unsupported, should fail - if imagex info tmp.swm --boot 0; then + if imagex info tmp.swm --boot 1; then error "Should not have been able to change boot index of split WIM" fi echo "Joining the split WIMs and applying the result"