]> diplodocus.org Git - nmh/blobdiff - test/rcv/test-rcvtty
Replace getcpy() with mh_xstrdup() where the string isn't NULL.
[nmh] / test / rcv / test-rcvtty
index 800d0fba0c266469fdb1a63168de4990e6b1ea68..4f1d4988ad4ebe0c6e31e220b1dc7ff53f3e17af 100755 (executable)
@@ -38,7 +38,7 @@ Usage: rcvtty [command ...]
 EOF
 
 #### Skip nmh intro text.
-run_prog "$rcvtty" -help | sed '/^$/Q' >"$actual" 2>&1
+run_prog "$rcvtty" -help | sed '/^$/,$d' >"$actual" 2>&1
 check "$expected" "$actual"
 
 # check -version