]> diplodocus.org Git - nmh/blobdiff - test/rcv/test-rcvstore
Replace getcpy() with mh_xstrdup().
[nmh] / test / rcv / test-rcvstore
index 9656f373ee93db5a278c2ef17e6a06c45ef17db4..a49a3ccdc5f643c6c0610d28524e15be5fdcc022 100755 (executable)
@@ -38,8 +38,9 @@ Usage: rcvstore [+folder] [switches]
   -help
 EOF
 
   -help
 EOF
 
-run_prog $rcvstore -help >$actual 2>&1
-check $expected $actual
+#### Skip nmh intro text.
+run_prog "$rcvstore" -help | sed '/^$/,$d' >"$actual" 2>&1
+check "$expected" "$actual"
 
 # check -version
 case `$rcvstore -v` in
 
 # check -version
 case `$rcvstore -v` in