X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/fa462ef71fbaf819397c59b2c07adf45a04af9f8..7b27ac3df95dd184f361531378ec145fd6d3b659:/test/repl/test-repl diff --git a/test/repl/test-repl b/test/repl/test-repl index 63d99dde..3e014f6c 100755 --- a/test/repl/test-repl +++ b/test/repl/test-repl @@ -29,13 +29,13 @@ Usage: repl: [+folder] [msg] [switches] switches are: -[no]group -[no]annotate - -cc all|to|cc|me - -nocc type + -[no]cc all|to|cc|me -draftfolder +folder -draftmessage msg -nodraftfolder -editor editor -noedit + -convertargs type argstring -fcc folder -filter filterfile -form formfile @@ -55,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