]> diplodocus.org Git - nmh/blobdiff - test/mhparam/test-mhparam
Added debug statements to test-mhparam.
[nmh] / test / mhparam / test-mhparam
index 29dd11f..b29cba1 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