setup_test
+! mhparam - >/dev/null 2>&1 # gcov
+! mhparam localmbox >/dev/null 2>&1 # gcov
+
expected=$MH_TEST_DIR/$$.expected
expected_err=$MH_TEST_DIR/$$.expected_err
actual=$MH_TEST_DIR/$$.actual
-(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
# 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'
700
$bindir/inc
more
-$bindir/mhmail
-$MH_INST_DIR$auxexecdir/mhl
+$MH_INST_DIR$bindir/mhmail
+$MH_INST_DIR$nmhlibexecdir/mhl
cat
600
-$bindir/msh
$bindir/packf
-$MH_INST_DIR$auxexecdir/post
-$bindir/send
-$bindir/mhshow
-$MH_INST_DIR$auxexecdir/mhl
-nmh-`cat ${srcdir}/VERSION`
-$bindir/msh
-$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
run_prog mhparam -nocomponent \
mhlproc \
moreproc \
msgprot \
-mshproc \
packproc \
postproc \
sendproc \
showmimeproc \
showproc \
version \
-vmhproc \
whatnowproc \
whomproc \
etcdir \
-libdir >$actual 2>&1
+libexecdir \
+datalocking \
+spoollocking >$actual 2>&1
check $expected $actual