summaryrefslogtreecommitdiff
path: root/source3/script/tests
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2011-06-24 16:38:07 +0200
committerMichael Adam <obnox@samba.org>2011-06-24 23:58:24 +0200
commit05a287c9d9cdc87cda18bc9ff7db25f46f6970b6 (patch)
treebb05a018db613fdaa38c56f50e786e3443a690a0 /source3/script/tests
parentc459a1d06eb43f37794b2239c80b82e2d5166639 (diff)
downloadsamba-05a287c9d9cdc87cda18bc9ff7db25f46f6970b6.tar.gz
samba-05a287c9d9cdc87cda18bc9ff7db25f46f6970b6.tar.bz2
samba-05a287c9d9cdc87cda18bc9ff7db25f46f6970b6.zip
s3:test: fix the smbclient_s3 test on older systems
mktemp requires precisely six Xs at the end of the template name
Diffstat (limited to 'source3/script/tests')
-rwxr-xr-xsource3/script/tests/test_smbclient_s3.sh2
1 files changed, 1 insertions, 1 deletions
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`