X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/012d05c2b62332eb400d66b806e48216d39358c6..ee0cec04d450c43ca0fef7990e18e4c73bee41e9:/test/repl/test-repl diff --git a/test/repl/test-repl b/test/repl/test-repl index 20bb96d7..3e014f6c 100755 --- a/test/repl/test-repl +++ b/test/repl/test-repl @@ -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