]> diplodocus.org Git - nmh/blobdiff - test/mhmail/test-mhmail
More test-mhmail probing.
[nmh] / test / mhmail / test-mhmail
index 37452073cf99b2a2a64dbe7a92ab3d47f918326a..1f21e638760e0d99805b7a6d84233f34b217a615 100755 (executable)
@@ -38,9 +38,13 @@ test_mhmail ()
     # Message-ID.
     #
 
+ls -l $actual >&2 # ???? temporary
+od -t a $actual | tail -n 4
+
     sed -e 's/^Date:.*/Date:/' \
         -e 's/^Resent-Date:.*/Resent-Date:/' \
         -e 's/^Message-ID:.*/Message-ID:/' "$actual" > "$actual".nodate
+echo after sed # ???? temporary
     rm -f "$actual"
 
     check "$actual".nodate "$1"
@@ -117,8 +121,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