chiark / gitweb /
Regression test doesn't rely on value of O_NONBLOCK.
[adns.git] / regress / checkall
1 #!/bin/sh
2
3 allok=true
4
5 for f in case-*.sys
6 do
7         case="`echo \"$f\" | sed -e 's/^case-//; s/\.sys$//'`"
8         if ./r1test $case
9         then
10                 :
11         else
12                 echo
13                 allok=false
14                 echo
15         fi
16 done
17
18 if $allok
19 then
20         echo "
21 all tests passed."
22         exit 0
23 fi
24
25 echo >&2 '
26 AT LEAST ONE TEST FAILED
27 '
28
29 exit 1