git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c459a1d
)
s3:test: fix the smbclient_s3 test on older systems
author
Michael Adam
<obnox@samba.org>
Fri, 24 Jun 2011 14:38:07 +0000
(16:38 +0200)
committer
Michael Adam
<obnox@samba.org>
Fri, 24 Jun 2011 21:58:24 +0000
(23:58 +0200)
mktemp requires precisely six Xs at the end of the template name
source3/script/tests/test_smbclient_s3.sh
patch
|
blob
|
history
diff --git
a/source3/script/tests/test_smbclient_s3.sh
b/source3/script/tests/test_smbclient_s3.sh
index 8937c97bbef6faacee23721acc66781a23a10dc2..167b5ae993a1bc50de2a12211076616f6a1778bd 100755
(executable)
--- 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}_XXXX
XX
)
testit "smbclient -L $SERVER_IP" $SMBCLIENT -L $SERVER_IP -N -p 139 || failed=`expr $failed + 1`