]> diplodocus.org Git - nmh/blobdiff - test/mhmail/test-mhmail
Try this test-mhmail probe.
[nmh] / test / mhmail / test-mhmail
index 37452073cf99b2a2a64dbe7a92ab3d47f918326a..43f4cc717cf02215f3cfa7766d8e1daebcf9bf8f 100755 (executable)
@@ -38,6 +38,11 @@ test_mhmail ()
     # Message-ID.
     #
 
+ls -l $actual >&2 # ???? temporary
+echo actual:
+cat $actual
+echo end of actual
+
     sed -e 's/^Date:.*/Date:/' \
         -e 's/^Resent-Date:.*/Resent-Date:/' \
         -e 's/^Message-ID:.*/Message-ID:/' "$actual" > "$actual".nodate
@@ -117,8 +122,6 @@ esac
 mhmail -nosend recipient@example.com -from sender@localhost \
   -server 127.0.0.1 -port $localport -body '' >"$actual" 2>"$actual_err"
 
-tmpfil=`head -1 $actual | sed -e 's/://'`
-
 cat > "$expected" <<EOF
 To: recipient@example.com
 From: sender@localhost