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: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1903ea9a487bd7309ae740fe72c26ad1e2be2ee3;p=pdns minor osx portability nit --- diff --git a/regression-tests/tests/00dnssec-grabkeys/command b/regression-tests/tests/00dnssec-grabkeys/command index 09bca4d54..8c9a673db 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