]> diplodocus.org Git - nmh/blobdiff - test/mhparam/test-mhparam
Fixed m_getfld() to not return EOF indicator, so that files need
[nmh] / test / mhparam / test-mhparam
index 96160c0dcfafb6dade3dc8477f5c3d75627923e9..cea61a7d8c146b136184c07aaee1b432d3a2dcfc 100755 (executable)
@@ -165,4 +165,8 @@ set -e
 # check for correctness here.
 mhparam -debug >/dev/null
 
 # 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
 exit $failed