cd tests
srcdir="${srcdir:-.}/.."
srcdir="$(cd $srcdir; pwd)"
-. "$srcdir/tests/tests-common.sh"
+. "$srcdir/tests/test_utils.sh"
TEST_SUBDIR=tmpdir_test-imagex-update_and_extract
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