1#!/bin/sh
2
3incdir=`dirname $0`/../../../testprogs/blackbox
4. $incdir/subunit.sh
5
6if [ ! -x $BINDIR/pthreadpooltest ] ; then
7    # Some machines don't have /bin/true, simulate it
8    cat >$BINDIR/pthreadpooltest <<EOF
9#!/bin/sh
10exit 0
11EOF
12    chmod +x $BINDIR/pthreadpooltest
13fi
14
15failed=0
16
17testit "pthreadpool" $VALGRIND $BINDIR/pthreadpooltest ||
18	failed=`expr $failed + 1`
19
20testok $0 $failed
21