mirror of
https://github.com/samba-team/samba.git
synced 2024-12-24 21:34:56 +03:00
c4409ea130
Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Garming Sam <garming@catalyst.net.nz> Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Thu Dec 1 09:40:20 CET 2016 on sn-devel-144
50 lines
2.2 KiB
Python
50 lines
2.2 KiB
Python
#!/usr/bin/python
|
|
|
|
# This script generates a list of testsuites that should be run to
|
|
# test Samba performance.
|
|
#
|
|
# These tests are not intended to exercise aspect of Samba, but
|
|
# perform common simple functions or to ascertain performance.
|
|
#
|
|
|
|
# The syntax for a testsuite is "-- TEST --" on a single line, followed
|
|
# by the name of the test, the environment it needs and the command to run, all
|
|
# three separated by newlines. All other lines in the output are considered
|
|
# comments.
|
|
|
|
from selftesthelpers import *
|
|
|
|
samba4srcdir = source4dir()
|
|
samba4bindir = bindir()
|
|
|
|
plantestsuite_loadlist("samba4.ldap.ad_dc_performance.python(ad_dc_ntvfs)",
|
|
"ad_dc_ntvfs",
|
|
[python, os.path.join(samba4srcdir,
|
|
"dsdb/tests/python/ad_dc_performance.py"),
|
|
'$SERVER', '-U"$USERNAME%$PASSWORD"',
|
|
'--workgroup=$DOMAIN',
|
|
'$LOADLIST', '$LISTOPT'])
|
|
|
|
plantestsuite_loadlist("samba4.ldap.ad_dc_multi_bind.ntlm.python(ad_dc_ntvfs)",
|
|
"ad_dc_ntvfs",
|
|
[python, os.path.join(samba4srcdir,
|
|
"dsdb/tests/python/ad_dc_multi_bind.py"),
|
|
'$SERVER', '-U"$USERNAME%$PASSWORD"', '-k no',
|
|
'--workgroup=$DOMAIN',
|
|
'$LOADLIST', '$LISTOPT'])
|
|
|
|
plantestsuite_loadlist("samba4.ldap.ad_dc_multi_bind.krb5.python(ad_dc_ntvfs)",
|
|
"ad_dc_ntvfs",
|
|
[python, os.path.join(samba4srcdir,
|
|
"dsdb/tests/python/ad_dc_multi_bind.py"),
|
|
'$SERVER', '-U"$USERNAME%$PASSWORD"', '-k yes',
|
|
'--realm=$REALM',
|
|
'$LOADLIST', '$LISTOPT'])
|
|
|
|
plantestsuite_loadlist("samba4.ldb.multi_connect.python(ad_dc_ntvfs)",
|
|
"ad_dc_ntvfs",
|
|
[python, os.path.join(samba4srcdir,
|
|
"dsdb/tests/python/ad_dc_multi_bind.py"),
|
|
'tdb://$PREFIX_ABS/ad_dc_ntvfs/private/sam.ldb'
|
|
'$LOADLIST', '$LISTOPT'])
|