X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/c36038e4fdfbb0d45b25a8b5e54b9e0af16fe12e..39bfc0b25d39979d1ec47b14e69a4f17ea3493ab:/test/repl/test-repl diff --git a/test/repl/test-repl b/test/repl/test-repl index e4856d08..3e014f6c 100755 --- a/test/repl/test-repl +++ b/test/repl/test-repl @@ -35,6 +35,7 @@ Usage: repl: [+folder] [msg] [switches] -nodraftfolder -editor editor -noedit + -convertargs type argstring -fcc folder -filter filterfile -form formfile @@ -54,8 +55,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