X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/05a5871cd219968464e2c07fbe334891e458e9b3..9f8418e870a70c264eda1598f2d470e5428c216d:/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