]> diplodocus.org Git - nmh/blobdiff - test/repl/test-repl
Add mh_xstrdup() that exits on allocation failure.
[nmh] / test / repl / test-repl
index 20bb96d..3e014f6 100755 (executable)
@@ -55,8 +55,9 @@ Usage: repl: [+folder] [msg] [switches]
   -nofmtproc
 EOF
 
-run_prog repl -help >$actual 2>&1
-check $expected $actual
+#### Skip nmh intro text.
+run_prog repl -help | sed '/^$/,$d' >"$actual" 2>&1
+check "$expected" "$actual"
 
 # check -version
 case `repl -v` in