X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/05a5871cd219968464e2c07fbe334891e458e9b3..d92cb917ebcd7e8e1b78ec2e9e1ad2ae1ef8e8e4:/test/repl/test-repl?ds=sidebyside 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