[SCM] Samba Shared Repository - branch master updated
Michael Adam
obnox at samba.org
Fri Jun 24 17:08:02 MDT 2011
The branch, master has been updated
via 3e73ed7 s3:test: don't rely on pyhton being in /usr/bin/python in the sids2xids test
via 05a287c s3:test: fix the smbclient_s3 test on older systems
via c459a1d s3:test: fix the net registry roundtrip test on older systems
from 77e6efa s3:configure: remove unused --with-rootsbindir configure option
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master
- Log -----------------------------------------------------------------
commit 3e73ed77e074264ff295d12e57fdec29fbf621fa
Author: Michael Adam <obnox at samba.org>
Date: Fri Jun 24 16:40:17 2011 +0200
s3:test: don't rely on pyhton being in /usr/bin/python in the sids2xids test
"/usr/bin/env pyhton" should always work as long as pyhton is in the path.
Autobuild-User: Michael Adam <obnox at samba.org>
Autobuild-Date: Sat Jun 25 01:07:15 CEST 2011 on sn-devel-104
commit 05a287c9d9cdc87cda18bc9ff7db25f46f6970b6
Author: Michael Adam <obnox at samba.org>
Date: Fri Jun 24 16:38:07 2011 +0200
s3:test: fix the smbclient_s3 test on older systems
mktemp requires precisely six Xs at the end of the template name
commit c459a1d06eb43f37794b2239c80b82e2d5166639
Author: Michael Adam <obnox at samba.org>
Date: Fri Jun 24 16:37:20 2011 +0200
s3:test: fix the net registry roundtrip test on older systems
mktemp requires exactly Xs at the end of the template name on SLES8
-----------------------------------------------------------------------
Summary of changes:
.../script/tests/test_net_registry_roundtrip.sh | 2 +-
source3/script/tests/test_smbclient_s3.sh | 2 +-
source3/script/tests/test_wbinfo_sids2xids_int.py | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
Changeset truncated at 500 lines:
diff --git a/source3/script/tests/test_net_registry_roundtrip.sh b/source3/script/tests/test_net_registry_roundtrip.sh
index 33114cc..77b261f 100755
--- a/source3/script/tests/test_net_registry_roundtrip.sh
+++ b/source3/script/tests/test_net_registry_roundtrip.sh
@@ -65,7 +65,7 @@ LOGDIR_PREFIX="conf_roundtrip"
conf_roundtrip()
{
- local DIR=$(mktemp -d ${PREFIX}/${LOGDIR_PREFIX}_XXXX)
+ local DIR=$(mktemp -d ${PREFIX}/${LOGDIR_PREFIX}_XXXXXX)
local LOG=$DIR/log
echo conf_roundtrip $1 > $LOG
diff --git a/source3/script/tests/test_smbclient_s3.sh b/source3/script/tests/test_smbclient_s3.sh
index 8937c97..167b5ae 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`
diff --git a/source3/script/tests/test_wbinfo_sids2xids_int.py b/source3/script/tests/test_wbinfo_sids2xids_int.py
index 064a300..87db0ef 100755
--- a/source3/script/tests/test_wbinfo_sids2xids_int.py
+++ b/source3/script/tests/test_wbinfo_sids2xids_int.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
import sys,os,subprocess
--
Samba Shared Repository
More information about the samba-cvs
mailing list