]> diplodocus.org Git - nmh/blobdiff - test/slocal/test-slocal
Deference char pointer to test for empty string instead of strlen(3).
[nmh] / test / slocal / test-slocal
index 3fb73b2..394e155 100755 (executable)
@@ -42,7 +42,8 @@ Usage: slocal [switches]
   -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