the test script in contrib/netbsd-tests/usr.bin/grep/ calls grep which is
GNU grep from gnu/usr.bin/grep/ unless WITH_BSD_GREP is set.
this would have caught bug #198725 (bsdgrep -f broken since r268799)
I suspect the way to solve this is for us to add a CI test instance that has WITH_BSD_GREP set in the short term (and later make WITH_BSD_GREP the default, and then remove unused GNU grep).
(In reply to Ed Maste from comment #2)
Agreed. Unfortunately this isn't easy to otherwise solve in a way that doesn't require a fairly major restructure of the NetBSD tests, and I don't think the result of that would be very upstream-able.
(In reply to Kyle Evans from comment #3)
There's a way... I'd just prefer not hacking t_grep.sh too badly. I'll mull it over a bit though...
since r368439 BSD_GREP is default.