]> diplodocus.org Git - nmh/blobdiff - test/bad-input/test-header
Removed "sleazy hack" of negative bufsz because commit
[nmh] / test / bad-input / test-header
index b45a5769767d148216857b14c23a3b2be635b6d9..9f78b3764df020a39bffc9dd4d4519ff02e924ce 100755 (executable)
@@ -18,8 +18,8 @@ expected=$MH_TEST_DIR/$$.expected
 actual=$MH_TEST_DIR/$$.actual
 
 # Write message with bogus header field (missing blank line, really).
-msgfile=$(mhpath new)
-msgnum=$(basename $msgfile)
+msgfile=`mhpath new`
+msgnum=`basename $msgfile`
 cat > $msgfile <<EOF
 Date: Sun, 18 Dec 2005 00:52:39 +0100
 From: foo@example.edu
@@ -34,7 +34,7 @@ EOF
 cat > $expected <<EOF
   11  12/18 foo@example.edu    test<<This is a multi-part message in MIME forma
 EOF
-scan $msgnum > $actual 2>&1
+scan -width 80 $msgnum > $actual 2>&1
 check $expected $actual
 
 # check show (mhl)
@@ -49,7 +49,6 @@ Subject: test
 
 This is a multi-part message in MIME format.
 
-
 I am a stupid spammer.
 EOF
 show $msgnum > $actual 2>&1