# Make test directory
mkdir dir
-cp $srcdir/src/*.c $srcdir/src/*.h dir
+cp $srcdir/src/*.c dir
mkdir dir/subdir
echo 'hello' > dir/subdir/hello
echo 'hello' > dir/subdir/hello2
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"
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"