X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/d3c6f7080c1af358dba4a7f71e40fb1190b55dbe..85f521d5a7e1b4320db1871ced48ea4137f77fc8:/test/mhparam/test-mhparam diff --git a/test/mhparam/test-mhparam b/test/mhparam/test-mhparam index a5bb2e78..0dd8e2b2 100755 --- a/test/mhparam/test-mhparam +++ b/test/mhparam/test-mhparam @@ -50,18 +50,18 @@ run_test 'mhparam -nonexistent' 'mhparam: -nonexistent unknown' cp $MH_TEST_DIR/Mail/.mh_profile $expected # -all adds current folder echo 'Current-Folder: '`folder -f` >>$expected -mhparam -all >$actual +run_prog mhparam -all >$actual check $expected $actual 'keep first' # check -all with a component echo 'mhparam: profile-components ignored with -all' >$expected_err -mhparam -all path >$actual 2>$actual_err +run_prog mhparam -all path >$actual 2>$actual_err check $expected $actual 'keep first' check $expected_err $actual_err # check -all with -components echo 'mhparam: -components ignored with -all' >$expected_err -mhparam -all -components >$actual 2>$actual_err +run_prog mhparam -all -components >$actual 2>$actual_err check $expected $actual check $expected_err $actual_err @@ -102,7 +102,7 @@ $sysconfdir ${MH_LIB_DIR} EOF -mhparam -nocomponent \ +run_prog mhparam -nocomponent \ context \ mh-sequences \ buildmimeproc \