X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/debcc107b759e08105c2572737d6e7c81dcf1a8e..2d5d9e243c91784909b11948894e3ba0989107c0:/test/mhparam/test-mhparam diff --git a/test/mhparam/test-mhparam b/test/mhparam/test-mhparam index 7d2c6021..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,19 +86,19 @@ $MH_INST_DIR$bindir/refile 700 $bindir/inc more -$bindir/mhmail +$MH_INST_DIR$bindir/mhmail $MH_INST_DIR$nmhlibexecdir/mhl cat 600 $bindir/packf $MH_INST_DIR$nmhlibexecdir/post -$bindir/send -$bindir/mhshow +$MH_INST_DIR$bindir/send +$MH_INST_DIR$bindir/mhshow $MH_INST_DIR$nmhlibexecdir/mhl -nmh-`cat ${srcdir}/VERSION` -$bindir/whatnow -$bindir/whom -$nmhetcdir +nmh-$MH_VERSION +$MH_INST_DIR$bindir/whatnow +$MH_INST_DIR$bindir/whom +$nmhetcdirinst $MH_LIBEXEC_DIR fcntl ${default_locking}