X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/1e0b1d40a6285c532b722f4584fa7ddde220deff..ae0ecdc14e4fe091c063495971bc6fdd85e4e2f3:/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