diff options
Diffstat (limited to 'tests/include.rc')
-rw-r--r-- | tests/include.rc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/include.rc b/tests/include.rc index 8b06363894e..000005a4e33 100644 --- a/tests/include.rc +++ b/tests/include.rc @@ -83,6 +83,11 @@ wc () { fi } ;; +NetBSD) +wc() { + /usr/bin/wc $@ | sed 's/^ *\([0-9]*\).*$/\1/g' +} +;; esac testcnt=`egrep '^[[:space:]]*(EXPECT|EXPECT_NOT|TEST|EXPECT_WITHIN|EXPECT_KEYWORD)[[:space:]]' $0 | wc -l` |