chiark
/
gitweb
/
~mdw
/
adns
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
Bugfixes; adnstest has ability to use poll(2), and user can set initflags;
[adns]
/
regress
/
checkall
1
#!/bin/sh
2
3
failed=''
4
passed=''
5
6
for f in case-*.sys
7
do
8
case="`echo \"$f\" | sed -e 's/^case-//; s/\.sys$//'`"
9
if ./r1test $case
10
then
11
passed="$passed $case"
12
else
13
echo
14
failed="$failed $case"
15
echo
16
fi
17
done
18
19
if [ "x$failed" = x ]
20
then
21
echo "
22
all tests passed."
23
exit 0
24
fi
25
26
echo >&2 "
27
AT LEAST ONE TEST FAILED
28
passed tests:${passed:- NONE}
29
failed tests:$failed
30
"
31
32
exit 1