]> diplodocus.org Git - nmh/blobdiff - test/mhmail/test-mhmail
Added temporary probe to test-mhmail.
[nmh] / test / mhmail / test-mhmail
index 37452073cf99b2a2a64dbe7a92ab3d47f918326a..19374cefaa0603a5af57e82508e9d84ae3ad3ab3 100755 (executable)
@@ -38,6 +38,8 @@ test_mhmail ()
     # Message-ID.
     #
 
     # Message-ID.
     #
 
+echo $actual >&2; tail -n 2 $actual >&2 # ???? temporary
+
     sed -e 's/^Date:.*/Date:/' \
         -e 's/^Resent-Date:.*/Resent-Date:/' \
         -e 's/^Message-ID:.*/Message-ID:/' "$actual" > "$actual".nodate
     sed -e 's/^Date:.*/Date:/' \
         -e 's/^Resent-Date:.*/Resent-Date:/' \
         -e 's/^Message-ID:.*/Message-ID:/' "$actual" > "$actual".nodate
@@ -117,8 +119,6 @@ esac
 mhmail -nosend recipient@example.com -from sender@localhost \
   -server 127.0.0.1 -port $localport -body '' >"$actual" 2>"$actual_err"
 
 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
 cat > "$expected" <<EOF
 To: recipient@example.com
 From: sender@localhost