]> diplodocus.org Git - nmh/blobdiff - test/post/test-sendfiles
Makefile.am: Remove multiple `mkdir -p' for etc; use ./configure.
[nmh] / test / post / test-sendfiles
index 64ccd5e03d7abdb8045264e88c8d033a69a9faa4..84f54bfedb2498ee48166015f1bc2c6249428276 100755 (executable)
@@ -58,7 +58,7 @@ test_sendfiles ()
   # fakesendmail drops the message and any cc's into this mbox.
   mbox="$MH_TEST_DIR"/Mail/fakesendmail.mbox
   inc -silent -file "$mbox"
   # fakesendmail drops the message and any cc's into this mbox.
   mbox="$MH_TEST_DIR"/Mail/fakesendmail.mbox
   inc -silent -file "$mbox"
-  rm -f "$mbox" "$mbox.map"
+  rm -f "$mbox"
 
   mhlist -verbose last | sed -e 's/ *$//' -e 's/\(octet-stream\).*$/\1/' \
     >"$actual"
 
   mhlist -verbose last | sed -e 's/ *$//' -e 's/\(octet-stream\).*$/\1/' \
     >"$actual"
@@ -90,7 +90,7 @@ Usage: sendfiles [switches] -to recipient -subject subject file1 [file2 ...]
 EOF
 
 #### Skip nmh intro text.
 EOF
 
 #### Skip nmh intro text.
-run_prog sendfiles -help | sed '/^$/Q' >"$actual" 2>&1
+run_prog sendfiles -help | sed '/^$/,$d' >"$actual" 2>&1
 check "$expected" "$actual"
 
 # check -version
 check "$expected" "$actual"
 
 # check -version