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