X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/880ff2a4f8f33fede426b21858dda31b58ffd27a..4b1c1c0b7395ab1a48d364b13d26ba35e03d9b56:/test/repl/test-repl diff --git a/test/repl/test-repl b/test/repl/test-repl index 6beea72a..5d0d7de4 100755 --- a/test/repl/test-repl +++ b/test/repl/test-repl @@ -19,6 +19,8 @@ fi setup_test +check_exit '-eq 1' repl - + expected=$MH_TEST_DIR/$$.expected actual=$MH_TEST_DIR/Mail/draft @@ -56,7 +58,7 @@ Usage: repl: [+folder] [msg] [switches] EOF #### Skip nmh intro text. -run_prog repl -help | sed '/^$/Q' >"$actual" 2>&1 +run_prog repl -help | sed '/^$/,$d' >"$actual" 2>&1 check "$expected" "$actual" # check -version