summaryrefslogtreecommitdiff
path: root/source3/script/tests/test_pthreadpool.sh
blob: 79e578effa9f2925558abffe94de824906c137c7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/sh

incdir=`dirname $0`/../../../testprogs/blackbox
. $incdir/subunit.sh

TESTPROG=$BINDIR/pthreadpooltest

if [ ! -x $BINDIR/pthreadpooltest ] ; then
    TESTPROG=/bin/true
fi

failed=0

testit "pthreadpool" $VALGRIND $TESTPROG ||
	failed=`expr $failed + 1`

testok $0 $failed