From 1903ea9a487bd7309ae740fe72c26ad1e2be2ee3 Mon Sep 17 00:00:00 2001 From: Peter van Dijk Date: Thu, 10 Dec 2015 16:33:03 +0100 Subject: [PATCH] minor osx portability nit --- regression-tests/tests/00dnssec-grabkeys/command | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.40.0