]> diplodocus.org Git - nmh/blobdiff - test/anno/test-anno
Replace getcpy() with mh_xstrdup() where the string isn't NULL.
[nmh] / test / anno / test-anno
index a9ad95ae440937d58a0f0c477430653a407b9d8f..3f8fe5b479063d50317513ce1a3d7ca4e6ecfdf8 100755 (executable)
@@ -39,7 +39,8 @@ Usage: anno [+folder] [msgs] [switches]
   -([no]p)reserve
 EOF
 
-run_prog anno -help >"$actual" 2>&1
+#### Skip nmh intro text.
+run_prog anno -help | sed '/^$/,$d' >"$actual" 2>&1
 check "$expected" "$actual"
 
 # check -version