]> diplodocus.org Git - nmh/blobdiff - test/folder/test-packf
Replaced use of ! with || true, for ultimate Bourne shell compatiblity.
[nmh] / test / folder / test-packf
index ff98cef52bbd01a3b470ee93810e7734fb07fd95..1e341bb10b6e8fe2386e65afc86e7e7f191654e2 100755 (executable)
@@ -16,6 +16,8 @@ fi
 
 setup_test
 
+packf - >/dev/null 2>&1 || true  # gcov
+
 expected="$MH_TEST_DIR/$$.expected"
 actual="$MH_TEST_DIR/$$.actual"
 
@@ -31,7 +33,8 @@ Usage: packf [+folder] [msgs] [switches]
   -help
 EOF
 
-packf -help >"$actual" 2>&1
+#### Skip nmh intro text.
+packf -help | sed '/^$/,$d' >"$actual" 2>&1
 check "$expected" "$actual"
 
 # check -version