]> diplodocus.org Git - nmh/blobdiff - test/post/test-sendfiles
test: Send command's stderr down pipe; don't discard.
[nmh] / test / post / test-sendfiles
index 3e55b1e..bc93c31 100755 (executable)
@@ -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