From 05a287c9d9cdc87cda18bc9ff7db25f46f6970b6 Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Fri, 24 Jun 2011 16:38:07 +0200 Subject: s3:test: fix the smbclient_s3 test on older systems mktemp requires precisely six Xs at the end of the template name --- 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 8937c97bbe..167b5ae993 100755 --- a/source3/script/tests/test_smbclient_s3.sh +++ b/source3/script/tests/test_smbclient_s3.sh @@ -480,7 +480,7 @@ for OLDDIR in $(find ${PREFIX} -type d -name "${LOGDIR_PREFIX}_*") ; do rm -rf ${OLDDIR} done -LOGDIR=$(mktemp -d ${PREFIX}/${LOGDIR_PREFIX}_XXXX) +LOGDIR=$(mktemp -d ${PREFIX}/${LOGDIR_PREFIX}_XXXXXX) testit "smbclient -L $SERVER_IP" $SMBCLIENT -L $SERVER_IP -N -p 139 || failed=`expr $failed + 1` -- cgit