From: Peter van Dijk Date: Thu, 10 Dec 2015 15:33:03 +0000 (+0100) Subject: minor osx portability nit X-Git-Tag: dnsdist-1.0.0-alpha1~75^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F3018%2Fhead;p=thirdparty%2Fpdns.git minor osx portability nit --- diff --git a/regression-tests/tests/00dnssec-grabkeys/command b/regression-tests/tests/00dnssec-grabkeys/command index 09bca4d54d..8c9a673db5 100755 --- a/regression-tests/tests/00dnssec-grabkeys/command +++ b/regression-tests/tests/00dnssec-grabkeys/command @@ -20,5 +20,5 @@ echo ' trust-anchor-file: "trustedkeys"' >> unbound-host.conf if [ -e trustedkeys ] then - cat trustedkeys | wc -l + cat trustedkeys | grep -c '.' # because wc -l is not portable enough! fi \ No newline at end of file