s3: Remove a call to procid_self()
[Samba/gebeck_regimport.git] / source3 / script / tests / test_pthreadpool.sh
blobb1c7c6da11cffcc448d2ce821e8746f4f1088ceb
1 #!/bin/sh
3 incdir=`dirname $0`/../../../testprogs/blackbox
4 . $incdir/subunit.sh
6 if [ ! -x $BINDIR/pthreadpooltest ] ; then
7 # Some machines don't have /bin/true, simulate it
8 cat >$BINDIR/pthreadpooltest <<EOF
9 #!/bin/sh
10 exit 0
11 EOF
12 chmod +x $BINDIR/pthreadpooltest
15 failed=0
17 testit "pthreadpool" $VALGRIND $BINDIR/pthreadpooltest ||
18 failed=`expr $failed + 1`
20 testok $0 $failed