X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/e6917522a770cf2dba9997ca047977bc55fac061..9f8418e870a70c264eda1598f2d470e5428c216d:/test/mhparam/test-mhparam diff --git a/test/mhparam/test-mhparam b/test/mhparam/test-mhparam index 3a9ad02a..83b8407e 100755 --- a/test/mhparam/test-mhparam +++ b/test/mhparam/test-mhparam @@ -33,8 +33,9 @@ Usage: mhparam [profile-components] [switches] -(debug) EOF -mhparam -help >$actual 2>&1 -check $expected $actual +#### Skip nmh intro text. +mhparam -help | sed '/^$/,$d' >"$actual" 2>&1 +check "$expected" "$actual" # check -version case `mhparam -v` in @@ -48,8 +49,9 @@ run_test 'mhparam -nonexistent' 'mhparam: -nonexistent unknown' # check -all cp "$MH" $expected -# -all adds current folder +# -all adds current folder and Version echo 'Current-Folder: '`folder -f` >>$expected +echo "Version: nmh-$MH_VERSION" >>$expected run_prog mhparam -all >$actual check $expected $actual 'keep first' @@ -84,20 +86,20 @@ $MH_INST_DIR$bindir/refile 700 $bindir/inc more -$bindir/mhmail -$MH_INST_DIR$auxexecdir/mhl +$MH_INST_DIR$bindir/mhmail +$MH_INST_DIR$nmhlibexecdir/mhl cat 600 $bindir/packf -$MH_INST_DIR$auxexecdir/post -$bindir/send -$bindir/mhshow -$MH_INST_DIR$auxexecdir/mhl -nmh-`cat ${srcdir}/VERSION` -$bindir/whatnow -$bindir/whom -$sysconfdir -${MH_LIB_DIR} +$MH_INST_DIR$nmhlibexecdir/post +$MH_INST_DIR$bindir/send +$MH_INST_DIR$bindir/mhshow +$MH_INST_DIR$nmhlibexecdir/mhl +nmh-$MH_VERSION +$MH_INST_DIR$bindir/whatnow +$MH_INST_DIR$bindir/whom +$nmhetcdirinst +$MH_LIBEXEC_DIR fcntl ${default_locking} EOF @@ -123,7 +125,7 @@ version \ whatnowproc \ whomproc \ etcdir \ -libdir \ +libexecdir \ datalocking \ spoollocking >$actual 2>&1