diff options
author | Michael Adam <obnox@samba.org> | 2011-02-28 17:06:01 +0100 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2011-02-28 18:12:46 +0100 |
commit | e55937cfea387e58f646f3973971d5c7c14b0563 (patch) | |
tree | 18a194c3e4f42fc290523d76d5dfb2d3b90c1060 /source3/script/tests | |
parent | 61c2bcdf20f83340c732a1b727b3349be7235c0c (diff) | |
download | samba-e55937cfea387e58f646f3973971d5c7c14b0563.tar.gz samba-e55937cfea387e58f646f3973971d5c7c14b0563.tar.bz2 samba-e55937cfea387e58f646f3973971d5c7c14b0563.zip |
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 <obnox@samba.org>
Autobuild-Date: Mon Feb 28 18:12:46 CET 2011 on sn-devel-104
Diffstat (limited to 'source3/script/tests')
-rwxr-xr-x | source3/script/tests/test_smbclient_s3.sh | 2 |
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 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` |