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 "Integrity table not set correctly on image append"
fi
echo "Testing appending WIM image with no integrity check"
-if ! imagex append dir2 dir.wim "newname3"; then
+if ! imagex append dir2 dir.wim "newname3" --nocheck; then
error "Appending WIM image failed"
fi
if ! test "`imagex info dir.wim | grep Integrity | awk '{print $3}'`" = "no"; then
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"