repo.or.cz
/
beanstalkd.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Fix build on FreeBSD.
[beanstalkd.git]
/
check.sh
blob
ff3821f77f26bc918f5fc294c6547af8e2ea4a19
1
#!/bin/bash
2
3
one
=
"$(dirname "
$0
")/check-one.sh"
4
5
for
commands
in
"$@"
;
do
6
expected
=
${commands/.commands/.expected}
7
echo
$commands
8
$one $commands $expected
9
res
=
$?
10
test
"
$res
"
=
1
&&
echo
"FAIL:
$commands
"
11
test
"
$res
"
=
0
||
exit
1
12
done