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

581 Commits

Author SHA1 Message Date
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