]> diplodocus.org Git - nmh/blobdiff - test/rcv/test-rcvdist
Add const specifier to mh_xstrdup()'s src parameter.
[nmh] / test / rcv / test-rcvdist
index eca96860df2930487263e3da92171236de364545..21d5904e50aeb69e5c808a03a894dbe5a0ac9299 100755 (executable)
@@ -32,7 +32,8 @@ Usage: rcvdist [switches] [switches for postproc] address ...
   -help
 EOF
 
   -help
 EOF
 
-run_prog $rcvdist -help >"$actual" 2>&1
+#### Skip nmh intro text.
+run_prog "$rcvdist" -help | sed '/^$/,$d' >"$actual" 2>&1
 check "$expected" "$actual"
 
 # check -version
 check "$expected" "$actual"
 
 # check -version