]> diplodocus.org Git - nmh/blobdiff - test/post/test-post-common.sh
Disable setgid of inc (SETGID_MAIL=1) when running distcheck.
[nmh] / 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"
 }