]> diplodocus.org Git - nmh/blobdiff - test/repl/test-repl
Replace getcpy() with mh_xstrdup() where the string isn't NULL.
[nmh] / test / repl / test-repl
index e4856d08d26daf360f2db5450aa894d8b532f8bb..3e014f6cf1366534b1cb4e39c48b7085eb1150aa 100755 (executable)
@@ -35,6 +35,7 @@ Usage: repl: [+folder] [msg] [switches]
   -nodraftfolder
   -editor editor
   -noedit
   -nodraftfolder
   -editor editor
   -noedit
+  -convertargs type argstring
   -fcc folder
   -filter filterfile
   -form formfile
   -fcc folder
   -filter filterfile
   -form formfile
@@ -54,8 +55,9 @@ Usage: repl: [+folder] [msg] [switches]
   -nofmtproc
 EOF
 
   -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
 
 # check -version
 case `repl -v` in