Fix build on FreeBSD.
[beanstalkd.git] / check.sh
blobff3821f77f26bc918f5fc294c6547af8e2ea4a19
1 #!/bin/bash
3 one="$(dirname "$0")/check-one.sh"
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