X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/6d6cf5563fd5dc6d186f03e31f4939737e0d1110..94187a80bd60baab4b9c4b949ad820d730578123:/test/common.sh.in 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