]> diplodocus.org Git - nmh/blobdiff - test/format/test-dp
Alter HasSuffixC()'s char * to be const.
[nmh] / test / format / test-dp
index b190d73316932517f7ddf30b0e41fe44be9847ef..19e28c330a89c358a634ff296333868463a85f95 100755 (executable)
@@ -36,7 +36,8 @@ Usage: dp [switches] dates ...
   -help
 EOF
 
-run_prog $dp -help >"$actual" 2>&1
+#### Skip nmh intro text.
+run_prog "$dp" -help | sed '/^$/,$d' >"$actual" 2>&1
 check "$expected" "$actual"
 
 # check -version