From e55937cfea387e58f646f3973971d5c7c14b0563 Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Mon, 28 Feb 2011 17:06:01 +0100 Subject: s3:test: fix smbclient test on older systems (usage of mktemp) --tmpdir is not a valid option to mktemp on older systems Autobuild-User: Michael Adam Autobuild-Date: Mon Feb 28 18:12:46 CET 2011 on sn-devel-104 --- source3/script/tests/test_smbclient_s3.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/script/tests') diff --git a/source3/script/tests/test_smbclient_s3.sh b/source3/script/tests/test_smbclient_s3.sh index 8ae8ef2514..857400e9b0 100755 --- a/source3/script/tests/test_smbclient_s3.sh +++ b/source3/script/tests/test_smbclient_s3.sh @@ -399,7 +399,7 @@ for OLDDIR in $(find ${PREFIX} -type d -name "${LOGDIR_PREFIX}_*") ; do rm -rf ${OLDDIR} done -LOGDIR=$(mktemp -d --tmpdir=$PREFIX ${LOGDIR_PREFIX}_XXXX) +LOGDIR=$(mktemp -d ${PREFIX}/${LOGDIR_PREFIX}_XXXX) testit "smbclient -L $SERVER_IP" $SMBCLIENT -L $SERVER_IP -N -p 139 || failed=`expr $failed + 1` -- cgit