X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/6d6cf5563fd5dc6d186f03e31f4939737e0d1110..6a9e73aa660d24cf9aa417a5ec7e7a73f6bfd266:/test/common.sh.in?ds=inline diff --git a/test/common.sh.in b/test/common.sh.in index 1dbbf2cc..e8660336 100644 --- a/test/common.sh.in +++ b/test/common.sh.in @@ -302,7 +302,7 @@ cleanup() { #### cd to $MH_TEST_DIR before trying to remove its Mail #### subdirectory. rm on Solaris won't remove it if it's in the #### path of the current working directory. - test -z "$MH_TEST_NOCLEANUP" && (cd "$MH_TEST_DIR"; rm -rf "$MH_TEST_DIR"/Mail) + test -z "$MH_TEST_NOCLEANUP" && (cd "$MH_TEST_DIR" && rm -rf "$MH_TEST_DIR"/Mail) #### Report test name if set, which indicates failure. #### Relies on set -e to invoke the trap which calls