kernel - Fix issue w/ buffer ortation when doing non-blocking read from bpf
[dragonfly.git] / contrib / ipfilter / test / intest
blob57d91fe2f6e3568c562ed5fed1787db0a39f18ae
1 #!/bin/sh
2 if [ -f /usr/ucb/touch ] ; then
3 TOUCH=/usr/ucb/touch
4 else
5 if [ -f /usr/bin/touch ] ; then
6 TOUCH=/usr/bin/touch
7 else
8 if [ -f /bin/touch ] ; then
9 TOUCH=/bin/touch
13 echo "$1...";
14 /bin/cp /dev/null results/$1
15 ipnat -nvf regress/$1 2>/dev/null > results/$1
16 cmp expected/$1 results/$1
17 status=$?
18 if [ $status = 0 ] ; then
19 $TOUCH $1
21 exit $status