svn commit: samba r25504 - in branches/SAMBA_4_0/source: . selftest

metze at samba.org metze at samba.org
Thu Oct 4 14:51:12 GMT 2007


Author: metze
Date: 2007-10-04 14:51:11 +0000 (Thu, 04 Oct 2007)
New Revision: 25504

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=25504

Log:
run WINBIND tests for samba3

metze
Added:
   branches/SAMBA_4_0/source/selftest/test_winbind.sh
Modified:
   branches/SAMBA_4_0/source/samba4-skip
   branches/SAMBA_4_0/source/selftest/tests_all.sh


Changeset:
Modified: branches/SAMBA_4_0/source/samba4-skip
===================================================================
--- branches/SAMBA_4_0/source/samba4-skip	2007-10-04 14:45:57 UTC (rev 25503)
+++ branches/SAMBA_4_0/source/samba4-skip	2007-10-04 14:51:11 UTC (rev 25504)
@@ -46,3 +46,4 @@
 .*SAMBA3.*							# Samba3-specific test
 ^NET-DOMOPEN$						# Hangs for some reason
 ^NET-API-BECOME-DC$					# Fails
+WINBIND							# FIXME: This should not be skipped

Added: branches/SAMBA_4_0/source/selftest/test_winbind.sh
===================================================================
--- branches/SAMBA_4_0/source/selftest/test_winbind.sh	2007-10-04 14:45:57 UTC (rev 25503)
+++ branches/SAMBA_4_0/source/selftest/test_winbind.sh	2007-10-04 14:51:11 UTC (rev 25504)
@@ -0,0 +1,28 @@
+#!/bin/sh
+#
+
+incdir=`dirname $0`
+. $incdir/test_functions.sh
+
+ENVNAME=$1
+if test x"$ENVNAME" = x"";then
+	ENVNAME="dc"
+fi
+
+WB_OPTS="${TORTURE_OPTIONS}"
+WB_OPTS="${WB_OPTS} --option=\"torture:strict mode=yes\""
+WB_OPTS="${WB_OPTS} --option=\"torture:timelimit=1\""
+WB_OPTS="${WB_OPTS} --option=\"torture:winbindd separator=\\\\\""
+WB_OPTS="${WB_OPTS} --option=\"torture:winbindd private pipe dir=\$WINBINDD_PRIV_PIPE_DIR\""
+WB_OPTS="${WB_OPTS} --option=\"torture:winbindd netbios name=\$SERVER\""
+WB_OPTS="${WB_OPTS} --option=\"torture:winbindd netbios domain=\$DOMAIN\""
+
+STRUCT_TESTS=`$samba4bindir/smbtorture --list | grep "^WINBIND-STRUCT" | xargs`
+for t in $STRUCT_TESTS; do
+	plantest "$ENVNAME:$t" $ENVNAME $samba4bindir/smbtorture $WB_OPTS //_none_/_none_ $t
+done
+
+NDR_TESTS=`$samba4bindir/smbtorture --list | grep "^WINBIND-NDR" | xargs`
+for t in $NDR_TESTS; do
+	plantest "$ENVNAME:$t" $ENVNAME $samba4bindir/smbtorture $WB_OPTS //_none_/_none_ $t
+done


Property changes on: branches/SAMBA_4_0/source/selftest/test_winbind.sh
___________________________________________________________________
Name: svn:executable
   + *


Modified: branches/SAMBA_4_0/source/selftest/tests_all.sh
===================================================================
--- branches/SAMBA_4_0/source/selftest/tests_all.sh	2007-10-04 14:45:57 UTC (rev 25503)
+++ branches/SAMBA_4_0/source/selftest/tests_all.sh	2007-10-04 14:51:11 UTC (rev 25504)
@@ -4,6 +4,7 @@
 $SRCDIR/selftest/test_ejs.sh $CONFIGURATION
 $SRCDIR/selftest/test_ldap.sh 
 $SRCDIR/selftest/test_nbt.sh "dc"
+$SRCDIR/selftest/test_winbind.sh "dc"
 $SRCDIR/selftest/test_rpc.sh
 $SRCDIR/selftest/test_net.sh
 $SRCDIR/selftest/test_session_key.sh
@@ -17,3 +18,4 @@
 $SRCDIR/selftest/test_s3upgrade.sh $PREFIX/upgrade
 $SRCDIR/selftest/test_member.sh
 $SRCDIR/selftest/test_nbt.sh "member"
+$SRCDIR/selftest/test_winbind.sh "member"



More information about the samba-cvs mailing list