]> diplodocus.org Git - nmh/blobdiff - test/post/test-sendfiles
Fix error message when attempting to xmh_realloc() 0 bytes.
[nmh] / test / post / test-sendfiles
index 64ccd5e03d7abdb8045264e88c8d033a69a9faa4..4e2eb612c97e0d05318076b762c0ae4bd2022e93 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 '/^$/Q' >"$actual" 2>&1
+run_prog sendfiles -help | sed '/^$/,$d' >"$actual" 2>&1
 check "$expected" "$actual"
 
 # check -version