diff options
author | Andrew Bartlett <abartlet@samba.org> | 2012-01-27 15:20:17 +1100 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2012-01-28 00:13:56 +0100 |
commit | 965b83158d12dc9fabe96471162c51529206d8e1 (patch) | |
tree | 8dcfa8880feb1f7f93b3363a590caf4de994c519 /source3/selftest | |
parent | 7d14f89e29ac96227aca9af5f3deba38182618ce (diff) | |
download | samba-965b83158d12dc9fabe96471162c51529206d8e1.tar.gz samba-965b83158d12dc9fabe96471162c51529206d8e1.tar.bz2 samba-965b83158d12dc9fabe96471162c51529206d8e1.zip |
s3-selftest: Add test for posix large reads and writes
This includes encrypted reads and writes, both NTLM and kerberos.
Andrew Bartlett
Signed-off-by: Jeremy Allison <jra@samba.org>
Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Sat Jan 28 00:13:57 CET 2012 on sn-devel-104
Diffstat (limited to 'source3/selftest')
-rwxr-xr-x | source3/selftest/tests.py | 25 |
1 files changed, 20 insertions, 5 deletions
diff --git a/source3/selftest/tests.py b/source3/selftest/tests.py index 5d5f366019..6a3ccb9877 100755 --- a/source3/selftest/tests.py +++ b/source3/selftest/tests.py @@ -302,19 +302,34 @@ for s in signseal_options: "$PREFIX/ktest/krb5_ccache-3", binding_string, "-k", configuration]) -if have_ads_support: - options_list = ["", "-e"] - for options in options_list: +options_list = ["", "-e"] +for options in options_list: + if have_ads_support: plantestsuite("samba3.blackbox.smbclient_krb5 old ccache %s" % options, "ktest:local", [os.path.join(samba3srcdir, "script/tests/test_smbclient_krb5.sh"), "$PREFIX/ktest/krb5_ccache-2", binpath('smbclient3'), "$SERVER", options, configuration]) - plantestsuite("samba3.blackbox.smbclient_krb5 %s" % options, "ktest:local", + plantestsuite("samba3.blackbox.smbclient_krb5 old ccache %s" % options, "ktest:local", [os.path.join(samba3srcdir, "script/tests/test_smbclient_krb5.sh"), - "$PREFIX/ktest/krb5_ccache-3", + "$PREFIX/ktest/krb5_ccache-2", binpath('smbclient3'), "$SERVER", options, configuration]) + plantestsuite("samba3.blackbox.smbclient_large_file %s" % options, "ktest:local", + [os.path.join(samba3srcdir, "script/tests/test_smbclient_posix_large.sh"), + "$PREFIX/ktest/krb5_ccache-3", + binpath('smbclient3'), "$SERVER", "$PREFIX", options, "-k " + configuration]) + + plantestsuite("samba3.blackbox.smbclient_posix_large %s krb5" % options, "ktest:local", + [os.path.join(samba3srcdir, "script/tests/test_smbclient_posix_large.sh"), + "$PREFIX/ktest/krb5_ccache-3", + binpath('smbclient3'), "$SERVER", "$PREFIX", options, "-k " + configuration]) + + plantestsuite("samba3.blackbox.smbclient_posix_large %s NTLM" % options, "s3dc:local", + [os.path.join(samba3srcdir, "script/tests/test_smbclient_posix_large.sh"), + "none", + binpath('smbclient3'), "$SERVER", "$PREFIX", options, "-U$USERNAME%$PASSWORD " + configuration]) + for e in endianness_options: for a in auth_options: for s in signseal_options: |