]> diplodocus.org Git - nmh/blobdiff - test/post/test-sendfiles
Don't need to `else' after done() at end of then-block.
[nmh] / test / post / test-sendfiles
index 4e2eb612c97e0d05318076b762c0ae4bd2022e93..3e55b1ec12c17a6899c453869ce7deb65e2477b9 100755 (executable)
@@ -58,14 +58,14 @@ test_sendfiles ()
   # 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"
   (cd $MH_TEST_DIR/tmp  &&
    contents=`mhstore -noauto last 2>&1 | \
              sed -e 's/storing message.*as file //'`  &&
-   $uncompress "$contents" | tar xpf -  &&  rm -f "$contents")
+   $uncompress <"$contents" | tar xpf -  &&  rm -f "$contents")
 
   rmm last
   check "$testfiledir/$testfile" "$MH_TEST_DIR/tmp/$testfile" \