]> diplodocus.org Git - nmh/blobdiff - test/mhparam/test-mhparam
Added description of switches.
[nmh] / test / mhparam / test-mhparam
index 96160c0dcfafb6dade3dc8477f5c3d75627923e9..89bcb5d22e6e3a050390a5f7bfbeb84fff622234 100755 (executable)
@@ -100,6 +100,8 @@ $bindir/whatnow
 $bindir/whom
 $sysconfdir
 ${MH_LIB_DIR}
+fcntl
+${default_locking}
 EOF
 
 run_prog mhparam -nocomponent \
@@ -125,7 +127,9 @@ vmhproc \
 whatnowproc \
 whomproc \
 etcdir \
-libdir >$actual 2>&1
+libdir \
+datalocking \
+spoollocking >$actual 2>&1
 
 check $expected $actual
 
@@ -165,4 +169,8 @@ set -e
 # 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