Jelmer Vernooij
365cfb1c32
smbtorture: Rename --list to --list-suites, add stub --list.
2010-12-10 03:04:06 +01:00
Jelmer Vernooij
680a2fb517
s4-selftest: Add convenience function for running testsuites using
...
subunitrun.
2010-12-10 03:04:06 +01:00
Jelmer Vernooij
028ea57e55
selftest: Allow discovering tests in pure python testsuites.
2010-12-10 03:04:06 +01:00
Jelmer Vernooij
e6974b0ff0
selftest: add --list option.
2010-12-10 03:04:06 +01:00
Kai Blin
1f2518df5a
s4 libcli: Add libcli_echo lib and torture test
...
Autobuild-User: Kai Blin <kai@samba.org>
Autobuild-Date: Thu Dec 9 23:57:03 CET 2010 on sn-devel-104
2010-12-09 23:57:03 +01:00
Jelmer Vernooij
ca495e67b2
samba.hostconfig: Move samba.shares into samba.hostconfig.
2010-11-28 17:23:27 +01:00
Jelmer Vernooij
4cf85a7193
s4-selftest: Ignore broken pipe error from grep.
...
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Sun Nov 28 05:45:05 CET 2010 on sn-devel-104
2010-11-28 05:45:05 +01:00
Jelmer Vernooij
d237698850
blackbox.ldb: Support using system ldbsearch.
...
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Sat Nov 27 04:32:11 CET 2010 on sn-devel-104
2010-11-27 04:32:11 +01:00
Kamen Mazdrashki
1b58074557
s4-tests: Make all DRS python tests to start with samba4.drs.* prefix
2010-11-23 18:01:05 +01:00
Jelmer Vernooij
6534358a1a
selftest: When running on the buildfarm, pipe everything through
...
filter-subunit for the exit code.
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Sun Nov 21 23:56:23 CET 2010 on sn-devel-104
2010-11-21 23:56:23 +01:00
Matthieu Patou
0d85d2b4bf
selftest: fix tap2subunit detection on system with tap2subunit but not correct subunit libs
...
Autobuild-User: Matthieu Patou <mat@samba.org>
Autobuild-Date: Sun Nov 21 16:21:54 CET 2010 on sn-devel-104
2010-11-21 16:21:54 +01:00
Kamen Mazdrashki
dcd346c0e5
s4-tests: Make repl_schema.py test part of Samba4 test suite
...
Autobuild-User: Kamen Mazdrashki <kamenim@samba.org>
Autobuild-Date: Thu Nov 11 19:38:18 UTC 2010 on sn-devel-104
2010-11-11 19:38:18 +00:00
Anatoliy Atanasov
4574d497ce
s4/test: Add bind.py to make test
...
bind.py is a place to have tests for ldb binding with different credentials.
For starter we have a simple bind with machine account.
2010-11-11 15:33:07 +00:00
Matthias Dieter Wallnöfer
79548f0da2
s4:selftest/tests.py - skip the "passwords.py" suite on Windows 2000 domain function level
...
The "userPassword" password change functionality isn't available and so it
causes big parts of the testsuite to fail. On the other hand we've basic tests
in "acl.py" and indirectly also over SAMR and kpasswd so I propose to simply
skip it.
2010-11-11 10:03:38 +01:00
Andrew Tridgell
d1d585e208
s4-test: make sure the selftest prefix exists
...
Autobuild-User: Andrew Tridgell <tridge@samba.org>
Autobuild-Date: Tue Nov 9 00:05:22 UTC 2010 on sn-devel-104
2010-11-09 00:05:22 +00:00
Jelmer Vernooij
c9756cac05
waf: Put private libraries in a separate directory when building.
...
Thanks to Tridge for pointing out what exactly I had to change. :-)
2010-11-05 02:06:06 +00:00
Jelmer Vernooij
228a9c10d0
selftest: Allow some tests to output empty subunit data.
2010-11-05 02:06:05 +00:00
Jelmer Vernooij
c4dab7d545
urgent_replication: forbid empty subunit output.
...
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Thu Nov 4 12:13:47 UTC 2010 on sn-devel-104
2010-11-04 12:13:47 +00:00
Jelmer Vernooij
b6cef24463
selftest: Allow some tests to output empty subunit data.
2010-11-04 11:30:04 +00:00
Andrew Tridgell
f3ad867ab5
s4-test: fixed quoting in deletetest.py
2010-11-04 20:35:44 +11:00
Jelmer Vernooij
fdcbc087c0
selftest/tests.py: Fix typos.
...
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Wed Nov 3 19:55:55 UTC 2010 on sn-devel-104
2010-11-03 19:55:55 +00:00
Andrew Tridgell
b028f55880
s4-test: if using a system version of ldb, override the ldb modules path
...
Autobuild-User: Andrew Tridgell <tridge@samba.org>
Autobuild-Date: Wed Nov 3 04:13:22 UTC 2010 on sn-devel-104
2010-11-03 04:13:22 +00:00
Andrew Bartlett
46e70a2100
s4-selftest Run RPC-PAC against all the DC environments.
...
This is important, as it will validate that the PAC handling is
correct with the different encryption types.
Andrew Bartlett
Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Tue Nov 2 11:45:50 UTC 2010 on sn-devel-104
2010-11-02 11:45:50 +00:00
Jelmer Vernooij
3deece5591
s4: Remove the old perl/m4/make/mk-based build system.
...
The new waf-based build system now has all the same functionality, and
the old build system has been broken for quite some time.
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Sun Oct 31 02:01:44 UTC 2010 on sn-devel-104
2010-10-31 02:01:44 +00:00
Matthieu Patou
917cc0db0c
unit tests: use skip file to exclude smb2.dir instead of hack
...
Thanks metze for pointing this.
Autobuild-User: Matthieu Patou <mat@samba.org>
Autobuild-Date: Thu Oct 28 09:39:11 UTC 2010 on sn-devel-104
2010-10-28 09:39:11 +00:00
Kai Blin
b73a05e4e1
s4 net: rename to samba-tool in order to not clash with s3 net
...
Autobuild-User: Kai Blin <kai@samba.org>
Autobuild-Date: Thu Oct 28 07:25:16 UTC 2010 on sn-devel-104
2010-10-28 07:25:16 +00:00
Nadezhda Ivanova
5bc2b8f0a4
s4-ldb: Added the correct extended check for read access to nTSecurityDescriptor
...
It does not depend on READ_PROPERTY, but on SECURITY_PRIVILEGE and READ_CONTROL
Autobuild-User: Nadezhda Ivanova <nivanova@samba.org>
Autobuild-Date: Wed Oct 27 13:18:50 UTC 2010 on sn-devel-104
2010-10-27 13:18:50 +00:00
Matthieu Patou
b1f6a2be27
unit tests: move backend testing to the end
...
Autobuild-User: Matthieu Patou <mat@samba.org>
Autobuild-Date: Wed Oct 27 11:12:02 UTC 2010 on sn-devel-104
2010-10-27 11:12:02 +00:00
Matthieu Patou
04d63e973e
unit tests: remove smb2.dir
...
Tridge says that it's a hard to fix pb and that it's not the priority
for 4.0.0
2010-10-27 14:29:45 +04:00
Matthieu Patou
902e7288a7
selftest: use full path for selftest.pl instead of relative paths
...
FindBin on solaris8 with perl 5.04 has problem to get the path of the
called script if the script is called with a relative path.
Autobuild-User: Matthieu Patou <mat@samba.org>
Autobuild-Date: Mon Oct 18 19:50:03 UTC 2010 on sn-devel-104
2010-10-18 19:50:03 +00:00
Jelmer Vernooij
7c36853313
selftest: Avoid check_call(), use call() instead. This should fix
...
Python2.4 compatibility.
2010-10-11 20:32:03 +00:00
Matthieu Patou
9d958ce582
build: make make tests SCREEN=1 work on freebsd
2010-10-10 16:03:35 +04:00
Matthias Dieter Wallnöfer
584ac76a4f
s4:ldap.py - split it up and move SAM related stuff to sam.py
...
ldap.py would still need some additional split-up but it's a start.
Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org>
Autobuild-Date: Fri Oct 8 14:05:18 UTC 2010 on sn-devel-104
2010-10-08 14:05:17 +00:00
Abhidnya P Chirmule
fb75355263
File winattr test
...
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Thu Oct 7 16:51:19 UTC 2010 on sn-devel-104
2010-10-07 16:51:19 +00:00
Abhidnya P Chirmule
9af40beda6
File BirthTime test
2010-10-07 16:10:16 +00:00
Kamen Mazdrashki
ee881c9d07
s4-test: Fix PYTHONPATH for samba4.schemaInfo.python(dc) test
...
Autobuild-User: Kamen Mazdrashki <kamenim@samba.org>
Autobuild-Date: Wed Oct 6 02:54:56 UTC 2010 on sn-devel-104
2010-10-06 02:54:56 +00:00
Günther Deschner
9bcb88ff25
s4-selftest: move spoolss to skip list.
...
Guenther
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Tue Oct 5 13:51:28 UTC 2010 on sn-devel-104
2010-10-05 13:51:28 +00:00
Kamen Mazdrashki
9c27099715
s4-test: Fix PYTHONPATH for python.drs_ tests
2010-10-05 10:51:14 +00:00
Kamen Mazdrashki
dd380e3459
s4-test: Use absolute path for 'samba4srcdir'
2010-10-05 10:51:14 +00:00
Matthieu Patou
19f835dd69
unittests: makes the unit tests for ldb.python back in order
2010-10-04 19:42:19 +00:00
Andrew Tridgell
dfb664a182
s4-selftest: support 'make testenv SCREEN=1'
...
this can be used to start a test envioronment in screen windows.
Use:
make testenv SCREEN=1 SELFTEST_TESTENV=dc
to launch just one environment (in this case, "dc")
2010-10-02 21:11:53 -07:00
Andrew Tridgell
29e1a847dd
s4-selftest: silence warnings about bind chown
2010-10-02 21:11:52 -07:00
Andrew Tridgell
3bb59255bb
s4-test: silence a tap2subunit error
2010-10-02 21:11:52 -07:00
Andrew Tridgell
b772871f4c
s4-selftest: added --screen option for test
...
you can now do:
make test TESTS="some test" SCREEN=1
while in GNU screen, and all the samba servers will launch in their
own new screen, named after the server name.
You can also do:
make test TESTS="some test" SCREEN=1 VALGRIND_SERVER=1
to run valgrind on each samba server, or
make test TESTS="some test" SCREEN=1 GDBTEST=1
to run gdb on each server
2010-10-02 21:11:52 -07:00
Jelmer Vernooij
fbee3586fd
selftest: Let selftest provide the tempdir, rather than creating it as sideeffect of tests.py.
2010-10-01 01:31:06 +00:00
Andrew Tridgell
dc65824065
selftest: fixed a selftest error on sn
...
Pair-Programmed-With: Jelmer Vernooij <jelmer@samba.org>
2010-09-30 17:42:49 -07:00
Jelmer Vernooij
b7c7c4bae0
s4-selftest: Remove unnecessary PYTHONPATH overrides.
2010-10-01 02:05:36 +02:00
Jelmer Vernooij
8309e3f605
s4-selftest: Normalize paths.
2010-10-01 02:05:36 +02:00
Jelmer Vernooij
1611499ec6
s4-selftest: Finish conversion of selftest.sh to Python.
2010-10-01 02:05:36 +02:00
Jelmer Vernooij
aca56372c7
s4-selftest: Convert tests.sh to Python.
2010-10-01 02:05:36 +02:00
Jelmer Vernooij
6eee95ac04
s4-selftest: Add some more comments to skip file.
2010-09-30 10:31:38 +02:00
Jelmer Vernooij
73e129b254
selftest: Eliminate some unnecessary spaces.
2010-09-30 10:31:29 +02:00
Andrew Tridgell
c12f1a1e91
s4-selftest: added a --fail-immediately option to s4 test
...
this can be used to force an immediate test failure on the first
failed test case. You can also use:
make test FAIL_IMMEDIATELY=1
2010-09-28 09:12:39 +02:00
Nadezhda Ivanova
93ba17285d
s4-tests: Added tests for search checks on attributes
...
The ACL reach tests are in the knowfail because aclread module is not
enabled by default
2010-09-26 15:36:09 -07:00
Nadezhda Ivanova
3e08965369
s4-tests: Removed search tests with anonymous credentials as they fail againts Windows
...
These tests will fail in make test as well if the acl_read module is enabled.
2010-09-26 15:36:09 -07:00
Andrew Bartlett
b00dc83992
s4-selftest Run slow tests less often
...
These tests don't need to be run twice - basic parsing errors that
will show up with the various options will be caught quite well
by other tests.
Andrew Bartlett
2010-09-24 09:25:44 +10:00
Jelmer Vernooij
7378b6d2a2
s4-selftest: Move credentials tests to standard python directory.
2010-09-22 22:29:09 -07:00
Jelmer Vernooij
cc5b673e18
s4-selftest: Move samba3sam test to standard python directory.
2010-09-22 22:29:09 -07:00
Jelmer Vernooij
5651f8a9a7
s4-selftest: Fix prefixes for ldb tests - they're samba4 specific.
2010-09-22 22:29:09 -07:00
Jelmer Vernooij
3d0e6db9dc
selftest: Fix idlist running.
2010-09-22 22:29:09 -07:00
Jelmer Vernooij
f9ed11c756
s4-selftest: For idlist tests, leave out environment name.
2010-09-22 22:29:08 -07:00
Jelmer Vernooij
0dde34ffc7
s4-selftest: Add environment name to test suite manually, so we can
...
leave it out if we want to.
2010-09-22 22:29:08 -07:00
Jelmer Vernooij
9bce783878
selftest: Fix use of --load-list.
2010-09-22 22:29:08 -07:00
Jelmer Vernooij
cd8d780420
s4-selftest: Cleanup formatting.
2010-09-22 22:29:08 -07:00
Jelmer Vernooij
a171816672
selftest: Add prefix on a higher level, so it can be more easily
...
excluded.
2010-09-22 22:29:08 -07:00
Jelmer Vernooij
5a75fb194a
ndrdump: Move blackbox test to standard python namespace.
2010-09-22 17:48:23 -07:00
Jelmer Vernooij
18f10eec0e
s4/selftest: Simplify running of python tests.
2010-09-22 17:48:23 -07:00
Jelmer Vernooij
31d5ac0540
selftest: Let tests add prefix to tests by themselve.
2010-09-22 17:48:23 -07:00
Jelmer Vernooij
e12e661f35
s4-selftest: Move more tests to scripting/python, simplifies running of tests.
2010-09-21 22:54:38 -07:00
Jelmer Vernooij
118c6548bb
selftest: Fix run for systems without testtools installed.
2010-09-21 22:54:37 -07:00
Jelmer Vernooij
7c1b00f4a8
selftest: Use idlist testing for python tests.
2010-09-21 22:54:37 -07:00
Jelmer Vernooij
bf907d2c4a
selftest: Support running individual tests using idlists, for testsuites that support them.
2010-09-21 22:54:35 -07:00
Jelmer Vernooij
1783d0d6fc
s4-selftest: Use loadlist in a couple more places.
2010-09-21 22:54:35 -07:00
Jelmer Vernooij
ea1ed67d15
s4-test: Allow running individual tests for smbtorture tests.
2010-09-21 22:54:34 -07:00
Jelmer Vernooij
b17b6f7821
Update WHATSNEW.txt.
2010-09-20 12:11:05 -07:00
Andrew Tridgell
fcf576f002
s4-selftest: enable logging in valgrind server xterm
...
when running with valgrind on the server, enable logging in the xterm
so you get a permanent record of any errors
2010-09-15 15:39:36 +10:00
Anatoliy Atanasov
62b5274827
s4/fsmo: Added python tests for schema master transfer op
2010-09-10 13:08:21 +03:00
Andrew Tridgell
977db514b3
s4-test: added a RODC test using rpcecho
...
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-09-09 21:39:24 +10:00
Jelmer Vernooij
e4d1bdbe55
s4/selftest: Fix path to include/config.h, set BUILDDIR automatically.
2010-09-05 04:33:29 +02:00
Andrew Tridgell
502a5313c4
s4-pyrpc: convert rpc_talloc.py test to unittest framework
...
This fits in better with our test framework
Pair-Programmed-With: Jelmer Vernooij <jelmer@samba.org>
2010-08-26 22:50:20 +10:00
Andrew Tridgell
e69b13ccdd
s4-pyrpc: added a test for talloc behaviour in pidl python code
2010-08-25 23:05:05 +10:00
Sumit Bose
896f3c8a49
s4-smbtorture: Added a torture test for forest trusts
...
Signed-off-by: Günther Deschner <gd@samba.org>
2010-08-25 13:48:22 +02:00
Kamen Mazdrashki
a46ead0724
s4-test: Enable drs.rpc.msdsintid test case - it should be passing now
2010-08-19 03:34:04 +03:00
Stefan Metzmacher
656607943d
s4:selftest: recreate $SELFTEST_PREFIX/s4client with each make test run
...
Otherwise just fill the disks of the build-farm hosts.
metze
2010-08-17 17:32:13 +02:00
Stefan Metzmacher
39f99e7d53
s4:selftest: run ldapi tests in 'dc:local' environment
...
metze
2010-08-17 17:32:11 +02:00
Kamen Mazdrashki
887b7306a7
s4-test: Add drs.rpc.msDSIntId test to knownfail tests
2010-08-15 01:02:33 +03:00
Kamen Mazdrashki
776a3cdc08
s4-test: Run all DRS-RPC.* tests in ncacn_ip_tcp_tests tests group
...
Andrew, please check.
2010-08-15 01:02:33 +03:00
Kamen Mazdrashki
c30f9bd734
s4-test: Move RPC-DSSYNC test in DRS-RPC test suite
2010-08-11 00:18:14 +03:00
Stefan Metzmacher
0b4247ef7a
s4:selftest: skip samba4.blackbox.ktpass for now as it's not portable
...
ktutil might not be installed or from MIT.
We should build a samba4ktutil and use that instead,
until then we need to skip this test.
metze
2010-07-31 11:31:43 +02:00
Matthieu Patou
e461e29cd9
s4 unittests: add blackblox test for ktpass
2010-07-17 17:56:16 +04:00
Andrew Bartlett
0e212acd32
s4:testprogs Operate the blackbox kinit and net tests using the :local config
...
This :local tells selftest.pl to use the local smb.conf for the test
environment, not the generic client smb.conf
This then makes the rest work properly - otherwise, it may attempt to
connect to the wrong KDC for example.
The only problem is that we can't test the 'net join' with this set,
so this is removed from the test. The member server test environment
checks this anyway.
Andrew Bartlett
2010-07-16 07:08:41 +10:00
Matthieu Patou
0496af8341
s4: Unit test update_machine_account_password through kinit
...
This patch is for testing the chgdcpass script which is mostly a call to
update_machine_account_password.
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2010-07-15 22:08:20 +10:00
Matthieu Patou
cad04dabbb
s4 net: Add spn module to list/add/remove spn on objects
...
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-07-10 11:18:17 +02:00
Stefan Metzmacher
9e928995f0
s4:selftest: run RPC-SAMR-LARGE-DC against the vampire_dc to test the rid alloc code
...
metze
2010-07-09 09:27:17 +02:00
Stefan Metzmacher
14f8953aa4
s4:dsdb: move dsdb python tests from lib/ldb/ to dsdb/
...
metze
2010-06-30 11:10:28 +02:00
Günther Deschner
b31ff0537a
s4-smbtorture: add netr_GetForestTrustInformation test to RPC-NETLOGON.
...
Guenther
2010-06-29 17:13:01 +02:00
Andrew Bartlett
48c8896f2e
s4:selftest Split out PKINIT tests from test_kinit.sh and test enc types
...
This allows us to run the PKINIT tests only against the main DC (for
which the certificates were generated), while testing the available
encryption types in each functional level.
In particular, we need to assert that AES encryption is available in
the 2008 functional level.
Andrew Bartlett
2010-06-29 16:59:31 +10:00
Jelmer Vernooij
5f9a053d63
selftest: Remove accidentally committed dummy test.
2010-06-28 20:10:08 +02:00
Matthias Dieter Wallnöfer
666b611182
s4:selftest - also "rpc.samr.users.privileges" does work now
2010-06-28 14:51:08 +02:00
Matthias Dieter Wallnöfer
d01e36e647
s4:knownfail - "pwdLastSet" test does work now
2010-06-28 14:51:08 +02:00
Kamen Mazdrashki
a0bb31df5d
s4/test: Run DrsDeleteObjectTestCase as part of S4 testing
...
I put this test in the end of the list of tests as it
runs with 'vampire_dc' environment running.
Currently there are tests that are failing when we have
2 DCs constantly replicating in the test environment
(this, of course, should be fixed in the near future)
2010-06-28 04:43:29 +03:00
Jelmer Vernooij
0802f354ea
smbtorture: Fix loading of --load-list.
2010-06-25 11:32:59 +02:00
Jelmer Vernooij
e0aa54d0ed
selftest: Store the output of the last test run in st/subunit.
...
If a testrepository repository is present, add the test output when it
has completed.
2010-06-25 01:21:14 +02:00
Andrew Bartlett
ff5ace20a2
s4:selftest Fix up netbios names for rpc_echo test
2010-06-23 20:10:12 +10:00
Andrew Bartlett
1acd49c524
s4:selftest Add 2003 and 2008R2 test environments and tests
...
These tests were chosen particularly because they are known to test things
that vary across the functional levels.
Andrew Bartlett
2010-06-23 20:10:08 +10:00
Jelmer Vernooij
381e824658
policy: Add samba.policy.get_gpo_flags binding.
...
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-06-20 17:19:11 +02:00
Lukasz Zalewski
e55c012acc
make test modules for net group set of commands and modification to the newuser to include additional parameters
...
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-06-20 01:29:03 +02:00
Matthieu Patou
fbeacc1013
s4 upgradeprovision: Move functions to helpers and improve code
...
Among code improvement the most significant part is that we now
compare DN object instead of their string representation. It allow
to better react to case an white space difference.
Some new move objects have been added (ie. System into well known
security principals).
This will allow more unittesting
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-06-20 00:43:08 +02:00
Matthieu Patou
a466e0d61a
s4 python: Add unit tests for upgradeprovision related stuff
...
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-06-20 00:43:08 +02:00
Matthieu Patou
3fa38046cb
unittest: Change the name of the base ldb test so that it can be easily called separatly
2010-06-18 10:04:28 +02:00
Andrew Bartlett
f9018bc0ea
s4:selftest Add test environment for functional level 2000
...
This required that we pass the name of the realm down as a parameter,
so we can start up two different realms.
Andrew Bartlett
2010-06-16 09:57:52 +10:00
Andrew Bartlett
982f688c02
s4:selftest Remove becomedc tests from knownfail, these should now pass
...
Signed-off-by: Kamen Mazdrashki <kamenim@samba.org>
2010-06-15 10:51:35 +10:00
Jelmer Vernooij
51058213cb
s4-test: Use smb.conf path set in environment rather than using
...
command-line options.
This is the first step towards supporting custom test runners.
2010-06-13 18:19:03 +02:00
Matthieu Patou
a79b446e11
s4:smb_server: add dfs smbtorture to selftests
...
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-05-18 15:31:14 +02:00
Günther Deschner
1cee92caaa
s4-selftest: skip RAP-SAM tests against Samba 4.
...
Guenther
2010-05-12 00:20:56 +02:00
Matthias Dieter Wallnöfer
6131caad8f
s4:passwords.py - add a python unittest for additional testing of my passwords work
...
This performs checks on direct password changes over LDB/LDAP. Indirect
password changes over the RPCs are already tested by some torture suite (SAMR
passwords). So no need to do this again here.
2010-05-10 19:12:27 +02:00
Stefan Metzmacher
47f74c89c9
s4:selftest: add --socket-wrapper[-keep]-pcap options to "waf test"
...
metze
2010-05-10 12:20:26 +02:00
Günther Deschner
db3a1b9d51
s4-selftest: skip RAP-PRINTING tests.
...
Guenther
2010-04-28 23:23:38 +02:00
Matthias Dieter Wallnöfer
4497080173
s4:knownfail - remove tests which should pass
...
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2010-04-27 15:24:43 +10:00
Matthieu Patou
ce28f854c0
s4 python: add a unit test for function dsdb_get_oid_from_attid
...
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-04-15 18:45:41 +02:00
Stefan Metzmacher
2fd0137a87
s4:selftest/wscript: --enable-selftest and --with-selftest-prefix are configure options
...
metze
2010-04-15 09:34:02 +02:00
Jelmer Vernooij
64bf8c400c
selftest: Support passing --load-list to test runners.
2010-04-10 22:38:32 +02:00
Matthias Dieter Wallnöfer
b253385611
s4:LDB - fix up "LDAPI" test
...
Set the "options" environment variable in a deterministic manner.
2010-04-09 23:36:11 +02:00
Stefan Metzmacher
bae564b0a3
selftest: make sure filter-subunit and format-subunit use unbuffered io
...
metze
2010-04-09 16:42:00 +02:00
Stefan Metzmacher
e1faff9071
s4:selftest: mark some smb2.compound tests as knownfail
...
metze
2010-04-09 16:28:31 +02:00
Andrew Tridgell
a591b8497d
s4-waf: added --gdbtest option for waf test
2010-04-09 20:44:25 +10:00
Kamen Mazdrashki
2763a4ac4e
s4/test: Add DRS-UNIT test suite to 'quicktests' list
2010-04-09 12:21:32 +03:00
Kamen Mazdrashki
7f0da64a49
s4/test: add shemaInfo torture test to automated test suite
2010-04-09 12:21:30 +03:00
Jelmer Vernooij
d0c25157e9
selftest: Add --filtered-subunit option.
2010-04-08 23:20:35 +02:00
Jelmer Vernooij
b59ba79b95
s4-waf: Support --load-list option.
2010-04-08 23:20:35 +02:00
Thomas Nagy
7f3116a63d
build: allow the waf build to work with python 3.0 and 3.1
...
Python 3.x is a bit fussier about print statements and indentation.
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2010-04-08 07:46:39 +10:00
Andrew Tridgell
4731442dfa
s4-waf: format-subunit and filter-subunit are in python now
2010-04-06 20:27:22 +10:00
Andrew Tridgell
60bfedb8f4
s4-waf: filter-subunit has been renamed
2010-04-06 20:27:22 +10:00
Andrew Tridgell
77a4fe495e
s4-waf: added a --enable-selftest option as a shortcut
...
This is equiavalent to --enable-uid-wrapper --enable-nss-wrapper --enable-socket-wrapper
but is easier to remember!
2010-04-06 20:27:17 +10:00
Andrew Tridgell
9da89b4dda
s4-waf: show the fully expanded test command
...
this makes it easier to run it separately
2010-04-06 20:27:17 +10:00
Andrew Tridgell
172b8c55f7
s4-waf: use the versions of perl/python found by configure
2010-04-06 20:27:17 +10:00
Andrew Tridgell
6c76919ab5
s4-waf: don't assume perl takes -W option
2010-04-06 20:27:17 +10:00
Andrew Tridgell
8692ad4950
s4-waf: updated for new perl subunit options and filter name
2010-04-06 20:27:16 +10:00
Andrew Tridgell
f9eae32f4b
s4-waf: mark the wscript files as python so vim/emacs knows how to highlight them
2010-04-06 20:27:11 +10:00
Andrew Tridgell
ba0c7edf80
s4-waf: set CONFIG_H variable for selftest
2010-04-06 20:27:09 +10:00
Andrew Tridgell
6c3b69be9b
build: honor existing LD_LIBRARY_PATH settings when adding shared lib paths
2010-04-06 20:27:06 +10:00
Andrew Tridgell
65ffd1240d
s4-waf: don't hardcode python path
2010-04-06 20:27:05 +10:00
Andrew Tridgell
e2a9af0be4
build: added --with-selftest-prefix
2010-04-06 20:27:01 +10:00
Andrew Tridgell
dc9010572c
build: support systems without rpath
2010-04-06 20:26:58 +10:00
Andrew Tridgell
3ff3a11c33
build: use RUN_COMMAND() to wrap os.system()
2010-04-06 20:26:53 +10:00
Andrew Tridgell
dc68427b0e
build: fixed st_done test completion code
2010-04-06 20:26:53 +10:00
Andrew Tridgell
495c5e2c83
build: added a lot more options to waf test
2010-04-06 20:26:50 +10:00
Andrew Tridgell
8a5c01a049
build: waf test now depends on build
2010-04-06 20:26:48 +10:00
Andrew Tridgell
5c0f9079c2
build: waf test now works (at least for some tests)
2010-04-06 20:26:48 +10:00
Andrew Tridgell
844acb2260
build: waf quicktest nearly works
...
Rewrote wafsamba using a new dependency handling system, and started
adding the waf test code
2010-04-06 20:26:48 +10:00
Andrew Tridgell
845e0cbe6f
build: commit all the waf build files in the tree
2010-04-06 20:26:48 +10:00
Andrew Tridgell
f15a81c1c0
build: added ASN1, PIDL and ET build rules
...
also added selftest example command
2010-04-06 20:26:38 +10:00
Jelmer Vernooij
3ec8147105
selftest: for clarity, rename test to testsuite
2010-04-03 23:47:25 +02:00
Jelmer Vernooij
5f3fcf7a77
s4-python: Install external included packages only if they're not present on the system.
2010-03-31 03:56:24 +02:00
Jelmer Vernooij
beb630b690
s4-selftest: Fix xfail for base.delete.
2010-03-31 02:20:08 +02:00
Jelmer Vernooij
12e34eafb8
selftest: Use absolute tests names in knownfail.
2010-03-31 02:20:08 +02:00
Jelmer Vernooij
08161e093d
selftest: Convert filter-subunit to Python so the subunit Python module
...
can be used later.
2010-03-31 02:20:07 +02:00
Jelmer Vernooij
ef3fb75261
selftest: Replace perl subunit formatter with python subunit formatter,
...
so we can leverage the work happening in python-subunit.
2010-03-30 01:08:20 +02:00
Jelmer Vernooij
b607f99688
Remove extension from format-subunit.
2010-03-28 21:46:58 +02:00
Andrew Tridgell
09a676a471
s4-selftest: use CONFIG_H environment variable to find config.h
2010-03-28 17:57:29 +11:00
Günther Deschner
254d85d537
s4-selftest: use correct test names.
...
Guenther
2010-03-24 17:37:07 +01:00
Andrew Bartlett
5592a9ba5a
s4:selftest Test --sign and --encrypt options to ldbsearch
2010-03-24 19:28:38 +11:00
Günther Deschner
a52b3dfb26
s4-selftest: skip RPC-DFS for s4 entirely.
...
Guenther
2010-03-20 02:56:20 +01:00
Stefan Metzmacher
d4b8fb15b8
s4:selftest: move samba4.net.api.become.dc from skip to knownfail
...
Someone should fix the remaining bug, as this test is expected to work.
metze
2010-03-11 13:34:31 +01:00
Jelmer Vernooij
24d52dc362
Fix the build, add filtered subunit runner.
2010-03-01 16:24:59 +01:00
Andrew Bartlett
809dd8c413
s4:selftest Add test for the RPC proxy
2010-02-19 16:32:49 +11:00
Andrew Tridgell
2dff1f45f7
s4-test: use local ldb for urgent_replication test
...
This test only currently works on a local ldb, as it needs system
access.
2010-02-15 21:57:08 +11:00
Fernando J V da Silva
f5de126b85
s4-drs: Test situations for Urgent Replication
...
Checks if the partition's uSNUrgent is updated or not, depending
on the class of the object which is created, modified or deleted.
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2010-02-15 21:57:08 +11:00
Andrew Tridgell
5bb89bc47c
s4-ldb: fixed api.py selftest
...
subunitrun seemed to be calling a test from its own source, instead of
the samba test. Fix this by calling the test directly.
2010-02-06 16:43:55 +11:00
Eduardo Lima
882feb39a2
s4-drs: implementation of some delete test cases
...
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2010-01-28 18:45:03 +11:00
Matthieu Patou
711c7606a5
s4-tests: register new unit tests
...
make unit test emit a visible warning
2010-01-21 07:11:17 +13:00
Matthieu Patou
08c59c38a2
s4: Create unit tests for python "samba.xattr" module
2010-01-21 07:11:14 +13:00
Michael Adam
45465cb7da
s4:selftest: add the samr-passwords-lockout test to knownfail
...
This is not implemented completely yet.
Needs fixing in the future.
Michael
2010-01-20 17:32:58 +01:00
Jelmer Vernooij
18943bba9c
selftest: Use SUBUNIT_FORMATTER command, if set in the environment.
2010-01-20 11:05:04 +13:00
Kai Blin
791a2df656
s4 selftest: Fix and reenable WINBIND-STRUCT.NETBIOS_NAME test
2010-01-16 12:38:12 +01:00
Jelmer Vernooij
b6b46b4978
subunit: Import new version.
2010-01-16 19:53:49 +13:00
Kai Blin
5c016ad88e
s4 selftest: Ignore more winbind test known to fail
2010-01-15 02:09:05 +01:00
Günther Deschner
3b82254903
s4-selftest: RPC-SAMR-PASSWORDS-BADPWDCOUNT fails against s4.
...
Seems like account lockout is not implemented at all yet.
Guenther
2010-01-12 12:34:55 +01:00
Jelmer Vernooij
8c19cd2dea
netcmd: Add some basic tests.
2009-12-29 16:26:19 +01:00
Kamen Mazdrashki
c113be8526
s4-tort: Move Schema tests from ldap.py into separate module
...
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2009-12-21 23:44:05 +11:00
Stefan Metzmacher
dd650edff2
s4:selftest: skip SMB2-ACLS for now
...
metze
2009-12-08 13:50:16 +01:00
Stefan Metzmacher
33ecfb05a4
s4:selftest: run RAW-STREAMS again
...
metze
2009-12-08 13:50:16 +01:00
Stefan Metzmacher
ed5c3372de
s4:selftest: use ${selftest_prefix} instead of hardcoded st/
...
metze
2009-12-08 09:19:35 +01:00
Andrew Tridgell
52083a8547
s4-selftest: show the test summary at the end of 'make test' in the build farm
...
This should make it easier to see what tests are failing with what
parameters
2009-12-08 15:59:10 +11:00
Tim Prouty
1bf825b6f8
s4 torture: Cleanup RAW-ACLS a bit
...
Don't check SEC_DESC_DACL_AUTO_INHERITED right now
Disable RAW-ACLS-INHERITFLAGS for the short term
Update samba4's knownfail accordingly
2009-12-07 17:59:28 -08:00
Andrew Tridgell
978dc61b56
s4-selftest: don't consider spoolss failures to be an error in s4
2009-12-08 12:39:11 +11:00
Tim Prouty
105eb95a57
s4 quicktest: exclude raw-streams from quicktest until bug is fixed
2009-12-07 16:54:17 -08:00
Steven Danneman
47f5aac39d
s4/torture: add test for zero byte read contention with byte range locks
2009-12-07 16:10:25 -08:00
Tim Prouty
5c857768d1
s4 selftest/quicktest: Update known failures for the sfileinfo and oplock changes
...
Two new samba4 bugs have been filed for the two corresponding known
failures. For the short term raw.sfileinfo had to be removed from
quicktest. It is no longer an individual test, but a test-suite and
quicktest can only run top level tests.
2009-12-03 18:54:52 -08:00
Steven Danneman
76be0f6a11
s4/selftest: knownfail some locking tests until bugs are fixed
2009-12-02 17:55:34 -08:00
Matthias Dieter Wallnöfer
b973c50836
s4:upgrade_from_s3 - Move it back to "setup"
...
Suggested by Jelmer
2009-11-28 19:25:12 +01:00
Matthias Dieter Wallnöfer
1af31aed0b
s4:tests.sh - Make also here the change from "upgrade" to "upgrade_from_s3"
2009-11-27 16:42:11 +01:00
Andrew Tridgell
d5240822a5
s4-selftest: s4 passes all the SMB2-LOCK tests now
2009-11-27 19:42:11 +11:00
Andrew Tridgell
af087f98ab
s4-selftest: s4 passes this test now
2009-11-27 19:42:10 +11:00
Andrew Tridgell
f6ecb4efb0
s4-torture: fixed expected error codes for s4 in SMB2-LOCK
...
I think the error/success codes returned by windows for these tests
are quite bogus. The ones s4 gives are much more reasonable. The
locking ones returning NT_STATUS_SUCCESS could lead to data loss, as
an application thinks it has a file locked correctly when it fact it
doesn't, so it could do an unsafe modify.
2009-11-27 16:05:06 +11:00
Andrew Bartlett
6f0f82f7ed
s4:selftest Add tests for upgradeprovision
2009-11-27 16:05:05 +11:00
Stefan Metzmacher
49553d066b
librpc: rerun "make idl"
...
metze
2009-11-26 11:47:42 +01:00
Tim Prouty
ce9ac3a685
s4 torture: Split up the torture suite setup for RAW-SFILEINFO
...
A side effect of this change is that RAW-SFILEINFO now runs the whole
suite instead of just the first test. I changed the name of the first
test to RAW-SFILEINFO-BASE and changed all of the selftest scripts
that call it.
2009-11-25 08:45:14 -08:00
Stefan Metzmacher
fb685d3a8a
s4:selftest: mark samba4.smb2.lock.*.VALID-REQUEST as known failure
...
metze
2009-11-18 08:24:13 +01:00
Stefan Metzmacher
575967a5cf
s4:selftest: fix logic for --option=torture:progress=no
...
metze
2009-11-18 06:50:24 +01:00
Stefan Metzmacher
e3032d5fc8
s4:selftest: for now skip the BASE-DELAY-WRITE test completely
...
This test randomly fails depending on the timing
(the tests are too strict with the values introduced in
commit 0fca2b078c
)
and local filesystem features (timestamp resolution).
metze
2009-11-18 06:50:23 +01:00
Stefan Metzmacher
e67445b7f7
s4:selftest: avoid running the slow BASE-DELAY-WRITE test on the cifs proxy share
...
It's enough to run it on the posix share.
metze
2009-11-18 06:50:23 +01:00
Stefan Metzmacher
b4c916c492
s4:selftest: add "rpc.netlogon.*.GetDomainInfo"
...
We need to expand the test to work against w2k8 and w2k8r2...
metze
2009-11-18 06:50:23 +01:00
Stefan Metzmacher
4750155071
s4:selftest: use "dc:local" instead of a hardcoded config file
...
If a tests needs access to the dc's config, it should run
as "dc:local", then it can also access unix named pipes...
If we pass a hardcoded config file the test fails if you use
a selftest_prefix.
metze
2009-11-17 09:00:48 +01:00
Stefan Metzmacher
39072c70d2
s4:selftest: allways start with $(ST_RM)
...
metze
2009-11-17 09:00:47 +01:00
Stefan Metzmacher
068d4336d6
s4:selftest: place summary file into selftest-prefix
...
metze
2009-11-17 09:00:47 +01:00
Andrew Bartlett
b13518e4e8
s4:dsdb With these workarounds, we now pass the RPC-DSSYNC test
2009-11-17 10:38:09 +11:00
Nadezhda Ivanova
55d2cec640
Fixed some major bugs in inheritance and access checks.
...
Fixed sd creation not working on LDAP modify.
Fixed incorrect replacement of CO and CG.
Fixed incorrect access check on modify for SD modification.
Fixed failing sec_descriptor test and enabled it.
Fixed failing sd add test in ldap.python
2009-11-15 22:31:44 +02:00
Andrew Bartlett
5740648279
s4:selftest Mark the RPC-DSSYNC test as knownfail for now
...
We need to work on the provision or LDB modules to avoid DN attributes
without GUIDs (caused because the target does not exist at creation
time).
Andrew Bartlett
2009-11-12 22:23:22 +11:00
Andrew Bartlett
06b234e811
s4:torture Remove _drs_util_verify_attids() from RPC-DSSYNC
...
I'm satisfied that the task this test does is already done by the time
we map the incoming schema, and process the objects. If we have the
OID mapping wrong or incomplete, we will get any errors this test
found errors there.
(And this dramaticly reduces the test time, so we can now add
RPC-DSSYNC to 'make test').
Andrew Bartlett
2009-11-12 16:34:18 +11:00
Kamen Mazdrashki
3abe0ad7de
s4: DRS-RPC tests added to RPC group of tests
...
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2009-11-06 14:05:41 +01:00
Kamen Mazdrashki
7a51b3adc2
s4: Add DRS-UNIT test suite to LOCAL group of tests to be executed
...
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2009-11-06 14:05:40 +01:00
Zahari Zahariev
5fb9d06607
Python tests for the acl module.
...
Signed-off-by: Nadezhda Ivanova <nadezhda.ivanova@postpath.com>
Author: Zahari Zahariev <zahari.zahariev@postpath.com>
2009-11-05 17:40:54 +02:00
Andrew Tridgell
0fca2b078c
s4-selftest: lower some of the timeouts during make test
...
This speeds up some of the delay based tests by a lot. There is no
need to have long delays during testing.
2009-10-23 15:38:54 +11:00
Andrew Tridgell
a5712ff673
s4-selftest: removed raw.unlink from quicktest
...
This test takes 40s, and quicktest already covers delete operations in
base.delete
2009-10-22 12:47:55 +11:00
Andrew Tridgell
2b90fbb579
s4-selftest: the secleak test is not designed for automated running
2009-10-20 16:18:51 +11:00
Andrew Tridgell
14111d606b
s4-selftest: skip two more scanners
...
Protocol scanners are not any use in the build farm
2009-10-20 15:19:27 +11:00
Andrew Tridgell
a1135b28dc
s4-selftest: skip the trans2.scan test
...
This test consumes a huge number of file descriptors on the server
(random binds to the WKSSVC pipe)
2009-10-20 13:54:55 +11:00
Andrew Tridgell
fb9319d971
s4-selftest: move secdesc.python test to skip list
...
This test produces a python backtrace due to
LDAP_INSUFFICIENT_ACCESS_RIGHTS errors, which are expected until the
new acl code is finished. The python backtrace overrides the
'knownfail' listing, so we need to skip this test for now.
2009-10-19 13:51:18 +11:00
Andrew Tridgell
959accb4e6
s4-test: removed duplicate knownfail entry
2009-10-19 13:51:17 +11:00
Andrew Tridgell
bc2b4192c0
s4-test: the ldap secdesc test is expected to fail for now
...
Nadya, if this is not correct and you think this should be passing
already the please let me know. When I looked over it, it doesn't look
like it has a chance of passing until your acl module is in place and
enabled by default.
2009-10-18 16:32:01 +11:00
Andrew Tridgell
5d3659a881
s4-test: SMB2 oplocks in s4 are a mess
...
I don't have time to fix these right now, and as we don't advertise
SMB2 by default I'll mark it as a known failure till we start enabling
SMB2 by default.
2009-10-18 15:57:21 +11:00
Andrew Tridgell
53dec869b8
s4-torture: the BASE-CREATEX_ACCESS test is broken for non-administrators
...
See my msg to samba-technical about this test and privilege testing.
2009-10-17 13:01:03 +11:00
Andrew Tridgell
bdd9dc4a84
s4-selftest: mark some CIFS backend tests as known fail
...
The CIFS passthru NTVFS doesn't handle some options yet (eg. root_fid)
2009-10-15 20:42:53 +11:00
Andrew Tridgell
3ecfd06d64
s4-selftest: don't run benchmarks on the build farm hosts
2009-10-12 16:14:02 +11:00
Andrew Tridgell
6ed9aeee2a
s4-seftest: skip hold.oplock for SMB2 as well
...
This test is not designed to be run automatically. It deliberately
blocks forever.
2009-10-06 09:19:41 +11:00
Andrew Tridgell
860dad2605
s4-test: skip python gensec test until its finished
2009-10-02 18:52:51 +10:00
Jelmer Vernooij
95fafa9d83
selftest: Prefer system tap2subunit if available.
2009-09-27 16:34:59 +02:00
Jelmer Vernooij
52a17e5c32
pygensec: Add initial work on a gensec Python module.
2009-09-26 19:41:59 +02:00
Jelmer Vernooij
5cf25fd225
Revert "s4:python fixed subunit tests of dcerpc"
...
This reverts commit ffd48a79ee
.
2009-09-24 15:03:58 +02:00
Nadezhda Ivanova
025590e7a4
Merge branch 'master' of git://git.samba.org/samba
2009-09-20 17:43:46 -07:00
Andrew Tridgell
11bfbc5160
s4-selftest: disable RAP-SCAN test
...
also pointless now we have docs
2009-09-20 15:27:09 -07:00
Andrew Tridgell
8b5cb77118
s4-selftest: disable RPC-COUNTCALLS
...
The RPC-COUNTCALLS was useful when we were working out IDL by hand
2009-09-20 15:25:22 -07:00
Nadezhda Ivanova
6283f2caaa
Initial implementation of security descriptor creation in DS
...
TODO's:
ACE sorting and clarifying the inheritance of object specific ace's.
2009-09-20 15:16:17 -07:00
Zahari Zahariev
fec33db90e
Tests for descriptor inheritance
...
Signed-off-by: Nadezhda Ivanova <nadezhda.ivanova@postpath.com>
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2009-09-16 07:51:45 -07:00
Jelmer Vernooij
08ce8a4752
Mark test_security_descriptor_add_neg as known failing (for now).
2009-09-08 23:58:52 +02:00
Andrew Bartlett
374e5937cd
s4:selftest Fix 'make testenv-gdb' and 'make valgrindtest' etc
...
The problem here was that tridge's changes to ensure that test results
were always propogated didn't merge well with the addition of extra
environment variables for the 'make valgrindtest' and similar
environments. By splitting out the macro further, we keep the build
farm reporting accurate, but allow these other test modes to work.
Andrew Bartlett
2009-09-08 10:51:50 +10:00
Andrew Tridgell
ffd48a79ee
s4:python fixed subunit tests of dcerpc
...
The version of the unitest python module in Ubuntu Jaunty doesn't seem
to support this many level of subdirectories. Moving the tests up one
level solves the problem.
2009-09-04 18:07:04 +10:00
Andrew Tridgell
1b09e36f0b
fixed make test reporting success when provision fails
...
We were getting build test 'pass' on the build farm when the provision
is failing. The cause was the use of filter pipelines in the selftest
code in the makefile. A bourne shell will by default report the error
status of the last element of the pipeline, which means when provision
failed, make thought everything had passed.
We could use the bash 'pipefail' option to fix this, but it isn't
portable, so instead I've modified the makefile to touch st/st_done
when the first element in the pipeline completes successfully. That
means we now get errors in make test, at the expense of making the
makefile even more horrible than it was.
2009-08-17 22:46:47 +10:00
Andrew Tridgell
26e114b83c
skip the autoidl test
...
The autoidl test is not needed now that we have IDL source
available. It also generates a lot of errors in the logs.
2009-08-17 13:29:34 +10:00
Andrew Bartlett
ca526fbb3e
s4:selftest Remove the 'subunit filter' from make testenv etc
...
The extra filter is no use for 'testenv', as we are not running tests,
but an xterm. The filter also breaks running 'GDB_PROVISION=yes make
test', but at least if we can run 'GDB_PROVISION=yes make testenv'
then we can debug provision.
Andrew Bartlett
2009-08-17 11:08:42 +10:00
Andrew Bartlett
e13c14e7e4
s4:torture Add test for the NTP signd server
...
This is used by at patch to the NTP project to supply authenticated
time as required by MS-SNTP. (ie, to keep windows clients in time sync
in the domain)
Andrew Bartlett
2009-08-11 18:22:12 +10:00
Andrew Bartlett
57d690b6f6
s4:torture rework LDAP sort test
...
This reworks the test to be part of the LDAP tests, to make better use
of the torture API and the ldb API (in particular around adding
controls), and a general cleanup.
This also adds the test to the 'make test' run.
Andrew Bartlett
2009-08-04 13:11:07 +10:00
Andrew Bartlett
cdd7a5208f
s4:kerberos Add test to show that we actually export the keytab
...
While it is hard to prove it is correct, at least the new
'nettestuser' principal and the Administrator principal are correct.
We had to fix the case of 'Administrator' in the selftest code to
match the DB, as the keytab lookup is case sensitive.
Andrew Bartlett
2009-07-27 22:41:43 +10:00
Günther Deschner
e84d5bb02d
s4-selftest: ok, s4 cant print. add RPC-SPOOLSS-PRINTER to knownfail for now.
...
Guenther
2009-07-15 01:22:32 +02:00
Andrew Bartlett
1e6fb7d730
s4: Add tests and 'must change password' flags in setpassword and newuser
...
In particular, ensure that we can acutally change the password under
these circumstances.
Andrew Bartlett
2009-06-18 13:49:30 +10:00
Jelmer Vernooij
a5563d2925
selftest: Use common function when skipping testsuites based on run-time
...
conditions.
2009-06-18 03:08:21 +02:00
Jelmer Vernooij
f7ada51c29
python: Add API for accessing available shares.
2009-06-16 02:28:10 +02:00
Jelmer Vernooij
4bef8acc47
selftest: Fix references to filenames with knownfailures and slow tests.
2009-06-12 17:54:47 +02:00
Jelmer Vernooij
718f9be8a2
selftest: Add option to strip output of succeeded tests, and use it on
...
the buildfarm.
The matches the behaviour we had earlier in the previous output format.
2009-06-12 14:34:24 +02:00
Jelmer Vernooij
8c10fb7f00
selftest: Output subunit on the buildfarm.
2009-06-12 14:21:03 +02:00
Jelmer Vernooij
68578d6374
selftest: Fix handling of testsuite, reintroduce progress indication.
2009-06-11 19:59:59 +02:00
Jelmer Vernooij
4308e69084
selftest: Fix subunit stream to include the right prefixes rather than
...
extending the subunit protocol.
2009-06-11 19:59:58 +02:00
Jelmer Vernooij
16a69f358a
selftest: Use external processes for filtering known failures and pretty
...
formatting.
2009-06-11 19:59:58 +02:00
Jelmer Vernooij
24f01e70aa
selftest: Use filter-xfail for known failures
2009-06-11 19:59:58 +02:00
Jelmer Vernooij
7ea3cc5f29
selftest: Use subunit internally, and a separate test output formatter.
2009-06-11 19:59:57 +02:00
Andrew Tridgell
c6f5e1ba84
fixed some places where RPC-SECRETS needs to be changed to RPC-LSA-SECRETS
...
this copes with a rename of SECRETS to LSA-SECRETS in an earlier patch
by gd
2009-06-10 12:24:12 +10:00
Jelmer Vernooij
6b0e6fc0b3
s4-tests: Add separate variable for tap2subunit.
2009-06-09 21:54:05 +02:00
Günther Deschner
71caa90cd8
s4-selftest: change rpc.secrets to rpc.lsa.secrets here as well.
...
Guenther
2009-06-09 15:32:36 +02:00
Andrew Bartlett
3ce37ae750
Don't run the RPC-SAMR-LARGE-DC test multiple times
2009-06-04 11:22:52 +10:00
Jelmer Vernooij
7fddc71caa
selftest: Run tests for Samba4 target in the samba 4 testsuite.
2009-06-03 16:26:30 +02:00
Jelmer Vernooij
87bbae7b07
Rename harness2subunit.pl -> tap2subunit to be consistent with the
...
subunit tools.
2009-06-03 16:26:29 +02:00
Jelmer Vernooij
ac9ff3574d
Fix pythonpath so subunit can be found.
2009-06-02 18:05:42 +02:00
Andrew Bartlett
10f076a77d
Explicitly list RPC-SAMR-PASSWORDS-PWDLASTSET and RPC-SAMR-USERS-PRIVILAGES as slow
2009-05-29 11:56:26 +10:00
Günther Deschner
686e60581b
s4-selftest: adding RPC-SAMR-USERS-PRIVILEGES to knownfail list.
...
Samba4 cannot pass this test currently as in Samba4 (unlike Samba3)
the LSA and SAMR account are stored in the same db.
Once you delete a SAMR user the LSA privilege account is deleted
at the same time (which is wrong).
Guenther
2009-05-21 12:19:56 +02:00
Jelmer Vernooij
5065cf70f8
tevent: Remove python module.
...
This module didn't have any functionality that we actually used yet, and
it was quite small.
Tevent is quite low level and perhaps doesn't make much sense to expose
directly as a Python module. It was also causing build problems when used with a
system-tevent. We can always back later if necessary.
2009-05-16 14:56:37 +02:00
Günther Deschner
c3e61b5460
s4-selftest: match new name of RPC-SAMR-ACCESSMASK.
...
Guenther
2009-05-13 15:19:40 +02:00
Stefan Metzmacher
d8f3f7cd42
s4:selftest: don't run the smb2.durable.open test
...
it often crashes when the server doesn't support them.
metze
2009-04-25 06:18:58 +02:00
Stefan Metzmacher
bec71ba928
s4:selftest: s4 doesn't support osxrename and directory rename yet
...
metze
2009-04-25 03:15:56 +02:00
Andrew Bartlett
1856b999c8
python/rpc: Add custom GUID.__str__, GUID.__repr__, GUID.__init__ and GUID.__cmp__.
2009-04-21 11:14:11 +02:00
Stefan Metzmacher
5beaf230ca
s4:selftest: ignore smb2.lease test for now
...
metze
2009-04-20 15:15:40 +02:00
Andrew Tridgell
9d50c6b603
enable testing of possibleInferiors generation
2009-04-09 14:37:52 +10:00
Stefan Metzmacher
593ab6ac00
s4:selftest: rename SMBD_VALGRIND => SAMBA_VALGRIND
...
metze
2009-03-21 10:44:40 +01:00
Günther Deschner
ca9d67bf18
s4-spoolss: just return OK for dcesrv_spoolss_EnumPrintProcDataTypes for now.
...
Guenther
2009-03-07 09:59:12 +01:00
Björn Jacke
be479b6adf
don't rely on shebang's perl path, call our $PERL instead
...
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2009-03-07 08:18:46 +01:00
Günther Deschner
a93fbf8b26
s4-smbtorture: add test_EnumPrintProcDataTypes to RPC-SPOOLSS test.
...
Guenther
2009-03-07 00:25:44 +01:00
Björn Jacke
88bd0f2ac6
some shells are picky about ^ without quotes
2009-03-02 13:05:02 +01:00
Björn Jacke
fe8cf69ec6
don't hardcode python path
...
Signed-off-by: Michael Adam <obnox@samba.org>
2009-02-26 21:28:53 +01:00
Stefan Metzmacher
0fe9980fa0
LDAP-UPTODATEVECTOR: fix segfault against samba4 as server
...
metze
2009-02-05 17:48:08 +01:00
Stefan Metzmacher
7c72853b50
s4:selftest: don't use hardcoded pathes
...
metze
2009-02-03 16:31:04 +01:00
Stefan Metzmacher
40b67c3426
selftest: pass down the path to python for provisioning samba4
...
metze
2009-01-30 20:39:44 +01:00
Stefan Metzmacher
01f30a5e8e
s4:selftest: run RPC-COUNTCALLS as dc:local
...
metze
2009-01-30 13:34:28 +01:00
Stefan Metzmacher
3f967153c0
s4:selftest: run ncalrpc tests in dc:local mode
...
metze
2009-01-30 13:34:27 +01:00
Stefan Metzmacher
6b128f03d5
selftest: don't export $CONFIGURATION anymore only $SMB_CONF_PATH
...
metze
2009-01-30 13:33:34 +01:00
Stefan Metzmacher
52a49b448e
selftest: allow environment options
...
We support "local" and "client" (default) now.
We can decide if we want to run a client against the server
(with a special client.conf) or if we want to run tests localy
on the server with the same config as the server.
metze
2009-01-30 09:36:53 +01:00
Stefan Metzmacher
ccffe1ca71
s4:selftest: reference binaries via variables in tests.sh
...
metze
2009-01-21 13:35:36 +01:00
Kai Blin
c19926022c
s4-winbind: Remove a "knownfail" entry for the now implemented LIST_GROUPS
2009-01-16 07:33:16 +01:00
Stefan Metzmacher
2885a7ab6e
s4:selftest: report tevent tests as 'tevent.python'
...
metze
2009-01-02 18:16:55 +01:00
Jelmer Vernooij
7f148a2cf8
Fix Python event tests after rename to tevent.
2008-12-18 16:51:59 +00:00
Stefan Metzmacher
9f8dfb0a52
s4:selftest: we pass raw.delete.delete21
...
metze
2008-12-18 13:32:50 +01:00
Kai Blin
91a7c8b01b
nsswitch: Fix paths for Samba4 blackbox wbinfo test
2008-12-16 15:46:03 +01:00
Stefan Metzmacher
2026b34ebf
s4:selftest: samba4 fails the changed delete test
...
metze
2008-12-11 17:58:31 +01:00
Günther Deschner
9ea4b5aac2
s4-smbtorture: skip ServerGetTrustInfo for samba4.
...
Guenther
2008-12-10 12:47:05 +01:00
Stefan Metzmacher
6c9b0298a9
s4:selftest: we have netr_GetDcName() and netr_GetAnyDCName() implementations now
...
metze
2008-12-04 12:48:45 +01:00
Günther Deschner
580c2b3283
selftest: s4 does not have a pwdlastset implementation yet.
...
Guenther
2008-11-28 14:09:47 +01:00
Günther Deschner
67018ed8bd
s4-smbtorture: add very basic RPC-NTSVCS test.
...
Guenther
2008-11-12 10:19:53 +01:00
Günther Deschner
2c5a9f0a57
s4-test: skip netr_DatabaseRedo test.
...
Guenther
2008-11-06 23:25:40 +01:00
Stefan Metzmacher
6bc9fb887f
selftest: move gdb_* and valgrind_* scripts to selftest/
...
metze
2008-10-28 12:20:59 +01:00
Jelmer Vernooij
7a683618e7
Require separate option for quicktest include list rather than making
...
assumptions about it.
2008-10-22 04:09:17 +02:00
Jelmer Vernooij
2ee8d29d22
Prevent warning about directory already existing.
2008-10-21 14:29:38 +02:00