]> diplodocus.org Git - nmh/blobdiff - test/common.sh.in
Add new flags for -concat/-noconcat, -inlineonly/-noinlineonly, and
[nmh] / test / common.sh.in
index 4cf06e2..67b18a8 100644 (file)
@@ -266,7 +266,7 @@ setup_test ()
   export PATH
 
   # clean old test data
-  trap "rm -rf '$MH_TEST_DIR/Mail'" 0
+  trap "cd $MH_TEST_DIR; rm -rf '$MH_TEST_DIR/Mail'" 0
   # setup test data
   mkdir -p "$MH_TEST_DIR/Mail" || exit 1
   cat > "$MH" <<EOF || exit 1