]> diplodocus.org Git - nmh/blobdiff - test/repl/test-repl
Replace `if (p) free(p)' with `mh_xfree(p)'.
[nmh] / test / repl / test-repl
index 6beea72a786b00e4febf52d1f29bc401e67c0457..3e014f6cf1366534b1cb4e39c48b7085eb1150aa 100755 (executable)
@@ -56,7 +56,7 @@ Usage: repl: [+folder] [msg] [switches]
 EOF
 
 #### Skip nmh intro text.
 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
 check "$expected" "$actual"
 
 # check -version