]> diplodocus.org Git - nmh/blobdiff - test/mhparam/test-mhparam
Added mention of mhmail as a message composition utility.
[nmh] / test / mhparam / test-mhparam
index bdab7155fc592740faed242e19236160798442f7..cc6089ed79b8e19fa40fd9b9d4bb33c0d1ce503f 100755 (executable)
@@ -30,9 +30,9 @@ Usage: mhparam [profile-components] [switches]
   -all
   -version
   -help
   -all
   -version
   -help
+  -(debug)
 EOF
 
 EOF
 
-# check -help
 mhparam -help >$actual 2>&1
 check $expected $actual
 
 mhparam -help >$actual 2>&1
 check $expected $actual
 
@@ -75,6 +75,7 @@ AliasFile: aliases"
 
 # check each component in procs array in uip/mhparam.c
 # The tests don't override these, so they're default or configured values.
 
 # check each component in procs array in uip/mhparam.c
 # The tests don't override these, so they're default or configured values.
+# Note that cat is hardcoded here because the testsuite uses it for moreproc.
 cat >$expected <<EOF
 context
 .mh_sequences
 cat >$expected <<EOF
 context
 .mh_sequences
@@ -86,7 +87,7 @@ $auxexecdir/install-mh
 $pagerpath
 $bindir/mhmail
 $MH_INST_DIR$auxexecdir/mhl
 $pagerpath
 $bindir/mhmail
 $MH_INST_DIR$auxexecdir/mhl
-$pagerpath
+cat
 600
 $bindir/msh
 $bindir/packf
 600
 $bindir/msh
 $bindir/packf
@@ -131,7 +132,7 @@ libdir >$actual 2>&1
 check $expected $actual
 
 #### This exits with non-zero status, so let run_test squash that:
 check $expected $actual
 
 #### This exits with non-zero status, so let run_test squash that:
-run_test 'mhparam faceproc formatproc rmmproc' ''
+run_test 'mhparam formatproc rmmproc' ''
 
 #### Test sbackup separately because it's only passed as a -D compile option.
 case `mhparam sbackup` in
 
 #### Test sbackup separately because it's only passed as a -D compile option.
 case `mhparam sbackup` in
@@ -161,7 +162,7 @@ mhparam path context nonexistent1 nonexistent2 nonexistent3 >/dev/null
 run_test "echo $?" 3
 set -e
 
 run_test "echo $?" 3
 set -e
 
-# mhparam -debug (undocumented)
+# mhparam -debug
 # Some of its output depends on configure options, so don't bother to
 # check for correctness here.
 mhparam -debug >/dev/null
 # Some of its output depends on configure options, so don't bother to
 # check for correctness here.
 mhparam -debug >/dev/null