1#!/bin/sh
2# $FreeBSD$
3
4i=1
5# Temporarily disable evfilt_proc tests: https://bugs.freebsd.org/233586
6"$(dirname $0)/kqtest" --no-proc | while read line; do
7	echo $line | grep -q passed
8	if [ $? -eq 0 ]; then
9		echo "ok - $i $line"
10		: $(( i += 1 ))
11	fi
12
13	echo $line | grep -q 'tests completed'
14	if [ $? -eq 0 ]; then
15		echo -n "1.."
16		echo $line | cut -d' ' -f3
17	fi
18done
19