1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-10 01:18:15 +03:00

r25504: run WINBIND tests for samba3

metze
(This used to be commit 39981e5fa2)
This commit is contained in:
Stefan Metzmacher 2007-10-04 14:51:11 +00:00 committed by Gerald (Jerry) Carter
parent f64d696395
commit 6fb6999185
3 changed files with 31 additions and 0 deletions

View File

@ -46,3 +46,4 @@ RPC-ATSVC # Not provided by Samba 4
.*SAMBA3.* # Samba3-specific test
^NET-DOMOPEN$ # Hangs for some reason
^NET-API-BECOME-DC$ # Fails
WINBIND # FIXME: This should not be skipped

View File

@ -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

View File

@ -4,6 +4,7 @@ $includedir/../bin/smbtorture -V
$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_simple.sh
$SRCDIR/selftest/test_s3upgrade.sh $PREFIX/upgrade
$SRCDIR/selftest/test_member.sh
$SRCDIR/selftest/test_nbt.sh "member"
$SRCDIR/selftest/test_winbind.sh "member"