aboutsummaryrefslogtreecommitdiff
path: root/tests/sys/kqueue/libkqueue/kqueue_test.sh
blob: 5cca674305cb423258b5033e8b5b4c63cd1739d2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/sh
# $FreeBSD$

i=1
# Temporarily disable evfilt_proc tests: https://bugs.freebsd.org/233586
"$(dirname $0)/kqtest" --no-proc | while read line; do
	echo $line | grep -q passed
	if [ $? -eq 0 ]; then
		echo "ok - $i $line"
		: $(( i += 1 ))
	fi

	echo $line | grep -q 'tests completed'
	if [ $? -eq 0 ]; then
		echo -n "1.."
		echo $line | cut -d' ' -f3
	fi
done