$bindir/whom
$sysconfdir
${MH_LIB_DIR}
+fcntl
+${default_locking}
EOF
run_prog mhparam -nocomponent \
whatnowproc \
whomproc \
etcdir \
-libdir >$actual 2>&1
+libdir \
+datalocking \
+spoollocking >$actual 2>&1
check $expected $actual
# check for correctness here.
mhparam -debug >/dev/null
+# check with text file that does not end with newline
+printf 'Editor: emacs' >>"$MH"
+run_test 'mhparam -nocomponent editor' 'emacs'
+
exit $failed