diff options
Diffstat (limited to 'source3/script/tests/test_pthreadpool.sh')
-rwxr-xr-x | source3/script/tests/test_pthreadpool.sh | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/source3/script/tests/test_pthreadpool.sh b/source3/script/tests/test_pthreadpool.sh new file mode 100755 index 0000000000..79e578effa --- /dev/null +++ b/source3/script/tests/test_pthreadpool.sh @@ -0,0 +1,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 |