]> diplodocus.org Git - nmh/blobdiff - test/slocal/test-slocal
Replace getcpy() with mh_xstrdup().
[nmh] / test / slocal / test-slocal
index 3fb73b2440f2071825e2c09eb1c78c4400244cd6..394e15592d9e98edc5e6544e4fe2b8f04d12e926 100755 (executable)
@@ -42,7 +42,8 @@ Usage: slocal [switches]
   -help
 EOF
 
   -help
 EOF
 
-run_prog $slocal -help >"$actual" 2>&1
+#### Skip nmh intro text.
+run_prog $slocal -help | sed '/^$/,$d' >"$actual" 2>&1
 check "$expected" "$actual"
 
 # check -version
 check "$expected" "$actual"
 
 # check -version