]> git.marmaro.de Git - mmh/blobdiff - test/post/test-post-common.sh
Don't test with sendmail because it would really send the mail. If
[mmh] / test / post / test-post-common.sh
index 856c399f4e83751bec0a8ba91f553fa8ecba9b5e..7bc67e326310d9049623956bafced862a63ff210 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"
 }