From: Eric Biggers Date: Tue, 21 May 2013 17:59:59 +0000 (-0500) Subject: test-imagex: Fix test for duplicate image names X-Git-Tag: v1.4.1~59 X-Git-Url: https://wimlib.net/git/?p=wimlib;a=commitdiff_plain;h=f586dc75b589bbbb7fb62347bc6bc7aa63f71171;hp=ce7a3173855e654bf1aa52f1b7d7e676667192cd test-imagex: Fix test for duplicate image names --- diff --git a/tests/test-imagex b/tests/test-imagex index 1931c05f..902e0f97 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"