]> diplodocus.org Git - nmh/blobdiff - test/repl/test-repl
mh-mkstemp.man: Detail exit status as 255 rather than -1.
[nmh] / test / repl / test-repl
index 6beea72a786b00e4febf52d1f29bc401e67c0457..7de80246e872ff261b581ec640a496e6667ab8b3 100755 (executable)
@@ -19,6 +19,8 @@ fi
 
 setup_test
 
+check_exit '-eq 1' repl - # gcov
+
 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