msg "TEST FAILED (See above)"
}
-trap fail exit
+trap fail EXIT
prepare_empty_wim() {
rm -rf in.dir
echo "**********************************************************"
echo " wimupdate/extract tests passed "
echo "**********************************************************"
-trap exit
+trap EXIT
cd ..
default_cleanup