]> diplodocus.org Git - nmh/blobdiff - test/format/test-fmtdump
Oops, should have offset file in showbuildenv rather than cat.
[nmh] / test / format / test-fmtdump
index 73fd14d..259e12a 100755 (executable)
@@ -35,8 +35,9 @@ Usage: fmtdump [switches]
   -help
 EOF
 
-$fmtdump -help >$actual 2>&1
-check $expected $actual
+#### Skip nmh intro text.
+"$fmtdump" -help | sed '/^$/,$d' >"$actual" 2>&1
+check "$expected" "$actual"
 
 # check -version
 case `$fmtdump -v` in