Don't test with sendmail because it would really send the mail. If
[mmh] / test / post / test-post-common.sh
index 856c399..7bc67e3 100755 (executable)
@@ -38,7 +38,7 @@ test_post ()
     #
 
     sed -e 's/^Date:.*/Date:/' "$1" > "$1".nodate
-    mv "$1".nodate "$1"
+    rm -f "$1"
 
-    check "$1" "$2"
+    check "$1".nodate "$2"
 }