X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/012d05c2b62332eb400d66b806e48216d39358c6..128a282998fc767e226e6ff49969a2f3f4c31617:/test/repl/test-repl?ds=sidebyside diff --git a/test/repl/test-repl b/test/repl/test-repl index 20bb96d7..af880771 100755 --- a/test/repl/test-repl +++ b/test/repl/test-repl @@ -19,6 +19,8 @@ fi setup_test +! repl - >/dev/null 2>&1 # gcov + expected=$MH_TEST_DIR/$$.expected actual=$MH_TEST_DIR/Mail/draft @@ -55,8 +57,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