]> diplodocus.org Git - nmh/blobdiff - test/mhmail/test-mhmail
Added temporary probe to test-mhmail.
[nmh] / test / mhmail / test-mhmail
index 3745207..19374ce 100755 (executable)
@@ -38,6 +38,8 @@ test_mhmail ()
     # 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
@@ -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"
 
-tmpfil=`head -1 $actual | sed -e 's/://'`
-
 cat > "$expected" <<EOF
 To: recipient@example.com
 From: sender@localhost