]> wimlib.net Git - wimlib/blobdiff - tests/test-imagex-update_and_extract
Update version-info
[wimlib] / tests / test-imagex-update_and_extract
index 745c98f6a7196c508a9b37baf6e80e8adf5c9435..f7b8ce2a5d346034bfec7e27b9e313dd1b9779a8 100755 (executable)
@@ -24,7 +24,7 @@ fail() {
        msg "TEST FAILED (See above)"
 }
 
-trap fail exit
+trap fail EXIT
 
 prepare_empty_wim() {
        rm -rf in.dir
@@ -285,7 +285,7 @@ WIMLIB_IMAGEX_IGNORE_CASE=1 wimextract test.wim 1 @pathlist --dest-dir=out.dir -
 echo "**********************************************************"
 echo "          wimupdate/extract tests passed              "
 echo "**********************************************************"
-trap exit
+trap EXIT
 
 cd ..
 default_cleanup