diff --git a/source3/script/tests/test_pthreadpool.sh b/source3/script/tests/test_pthreadpool.sh index b1c7c6da11c..b3d24f79a1a 100755 --- a/source3/script/tests/test_pthreadpool.sh +++ b/source3/script/tests/test_pthreadpool.sh @@ -1,20 +1,20 @@ #!/bin/sh -incdir=`dirname $0`/../../../testprogs/blackbox +incdir=$(dirname $0)/../../../testprogs/blackbox . $incdir/subunit.sh -if [ ! -x $BINDIR/pthreadpooltest ] ; then - # Some machines don't have /bin/true, simulate it - cat >$BINDIR/pthreadpooltest <$BINDIR/pthreadpooltest <