From 40e0079bae731f691a620a280b74ada951018458 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Mon, 25 Apr 2011 13:40:15 +0200 Subject: s3: Some build farm machines do not have /bin/true Autobuild-User: Volker Lendecke Autobuild-Date: Mon Apr 25 14:35:42 CEST 2011 on sn-devel-104 --- source3/script/tests/test_pthreadpool.sh | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'source3') diff --git a/source3/script/tests/test_pthreadpool.sh b/source3/script/tests/test_pthreadpool.sh index 79e578effa..b1c7c6da11 100755 --- a/source3/script/tests/test_pthreadpool.sh +++ b/source3/script/tests/test_pthreadpool.sh @@ -3,15 +3,18 @@ incdir=`dirname $0`/../../../testprogs/blackbox . $incdir/subunit.sh -TESTPROG=$BINDIR/pthreadpooltest - if [ ! -x $BINDIR/pthreadpooltest ] ; then - TESTPROG=/bin/true + # Some machines don't have /bin/true, simulate it + cat >$BINDIR/pthreadpooltest <