From c53b25002f9879979983d4a763e8e658f2da40c9 Mon Sep 17 00:00:00 2001 From: David Levine Date: Thu, 5 Apr 2012 20:15:06 -0500 Subject: [PATCH] Added mhparam test of each component in procs array in uip/mhparam.c. --- docs/pending-release-notes | 3 ++- test/mhparam/test-mhparam | 30 ++++++++++++++++++++++++++++++ 2 files changed, 32 insertions(+), 1 deletion(-) diff --git a/docs/pending-release-notes b/docs/pending-release-notes index a80ce41..e71fdf9 100644 --- a/docs/pending-release-notes +++ b/docs/pending-release-notes @@ -61,4 +61,5 @@ Things to add to the release notes for the next full release: the WhatNow? prompt - The hostable option of mts.conf is no longer needed and has been removed. - A sample mhl filter for handling MIME content inside of mhl has been - placed in the doc directory as "replyfilter". + placed as "replyfilter" in the doc contrib directory, which is typically + installed as /share/doc/nmh/contrib/. diff --git a/test/mhparam/test-mhparam b/test/mhparam/test-mhparam index 6615748..629a3f2 100755 --- a/test/mhparam/test-mhparam +++ b/test/mhparam/test-mhparam @@ -72,6 +72,36 @@ echo 'AliasFile: aliases' >>"$MH_TEST_DIR/Mail/.mh_profile" run_test 'mhparam path AliasFile' "path: $MH_TEST_DIR/Mail AliasFile: aliases" +# check each component in procs array in uip/mhparam.c +run_test 'mhparam -nocomponent context' 'context' +run_test 'mhparam -nocomponent mh-sequences' '.mh_sequences' +run_test 'mhparam -nocomponent buildmimeproc' "$prefix/bin/mhbuild" +run_test 'mhparam -nocomponent faceproc' '' +run_test 'mhparam -nocomponent fileproc' "$MH_INST_DIR$prefix/bin/refile" +run_test 'mhparam -nocomponent foldprot' '700' +run_test 'mhparam -nocomponent formatproc' '' +run_test 'mhparam -nocomponent incproc' "$prefix/bin/inc" +run_test 'mhparam -nocomponent installproc' "$prefix/lib/install-mh" +run_test 'mhparam -nocomponent lproc' 'less' +run_test 'mhparam -nocomponent mailproc' "$prefix/bin/mhmail" +run_test 'mhparam -nocomponent mhlproc' "$MH_INST_DIR$prefix/lib/mhl" +run_test 'mhparam -nocomponent moreproc' 'less' +run_test 'mhparam -nocomponent msgprot' '600' +run_test 'mhparam -nocomponent mshproc' "$prefix/bin/msh" +run_test 'mhparam -nocomponent packproc' "$prefix/bin/packf" +run_test 'mhparam -nocomponent postproc' "$MH_INST_DIR$prefix/lib/post" +run_test 'mhparam -nocomponent rmmproc' '' +run_test 'mhparam -nocomponent sendproc' "$prefix/bin/send" +run_test 'mhparam -nocomponent showmimeproc' "$prefix/bin/mhshow" +run_test 'mhparam -nocomponent showproc' "$MH_INST_DIR$prefix/lib/mhl" +run_test 'mhparam -nocomponent version' 'nmh-'`cat $MH_OBJ_DIR/VERSION` +run_test 'mhparam -nocomponent vmhproc' "$prefix/bin/msh" +run_test 'mhparam -nocomponent whatnowproc' "$prefix/bin/whatnow" +run_test 'mhparam -nocomponent whomproc' "$prefix/bin/whom" +run_test 'mhparam -nocomponent etcdir' "$prefix/etc" +run_test 'mhparam -nocomponent libdir' "$prefix/lib" +run_test 'mhparam -nocomponent sbackup' ',' + # check -component run_test 'mhparam -component Path' "Path: $MH_TEST_DIR/Mail" -- 1.7.10.4