]> diplodocus.org Git - nmh/blobdiff - test/mhparam/test-mhparam
Added debug statements to test-mhparam.
[nmh] / test / mhparam / test-mhparam
index 29dd11f3a4a15b8ec8401820b410d694133f5b82..b29cba15934007d42e12b5673fda00231d9d8cec 100755 (executable)
@@ -33,8 +33,15 @@ Usage: mhparam [profile-components] [switches]
   -(debug)
 EOF
 
-mhparam -help >$actual 2>&1
-check $expected $actual
+#### Skip nmh intro text.
+# ???? debug
+set +e
+mhparam -help
+echo now through sed:
+mhparam -help | sed '/^$/Q'
+# ???? debug
+mhparam -help | sed '/^$/Q' >"$actual" 2>&1
+check "$expected" "$actual"
 
 # check -version
 case `mhparam -v` in