]> diplodocus.org Git - nmh/blobdiff - test/post/test-sendfiles
Commented out full output device test in test-scan.
[nmh] / test / post / test-sendfiles
index 84f54bfedb2498ee48166015f1bc2c6249428276..bc93c3139c40388e0db9442cb12cbee817704053 100755 (executable)
@@ -65,7 +65,7 @@ test_sendfiles ()
   (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" \
@@ -90,7 +90,7 @@ Usage: sendfiles [switches] -to recipient -subject subject file1 [file2 ...]
 EOF
 
 #### Skip nmh intro text.
-run_prog sendfiles -help | sed '/^$/,$d' >"$actual" 2>&1
+run_prog sendfiles -help 2>&1 | sed '/^$/,$d' >"$actual"
 check "$expected" "$actual"
 
 # check -version