Andrew Tridgell
87f0145d07
s4-server: exit with status 127 on SIGTERM
...
this ensures that make test detects a failure if samba is killed by
SIGTERM
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
Andrew Tridgell
507c413e48
s4-selftest: fixed up exit codes on signals for make test
...
also set $ENVNAME in launched servers
2010-10-02 21:11:52 -07:00
Jelmer Vernooij
60e25ab06b
land: Force always emailing when there is no other mechanism of progress reporting.
2010-10-03 05:25:18 +02:00
Jelmer Vernooij
0bb970dd81
land: Attach tarball of logs rather than individual logs to keep the
...
mail size reasonable.
2010-10-03 05:25:18 +02:00
Jelmer Vernooij
997165b23e
land: Some cosmetic fixes.
2010-10-03 05:25:18 +02:00
Jelmer Vernooij
288b217a8f
land: Attach test output files to result emails.
2010-10-03 05:25:18 +02:00
Jelmer Vernooij
f6b254c65d
land: Add --revision argument.
2010-10-03 05:25:18 +02:00
Jelmer Vernooij
d8e81a19de
land-remote: Run remote land command unbuffered.
2010-10-03 05:25:17 +02:00
Andrew Bartlett
0e11d18d14
s4-kdc Fix up after import of new lorikeet-heimdal
...
Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Sun Oct 3 01:56:04 UTC 2010 on sn-devel-104
2010-10-03 01:56:04 +00:00
Andrew Bartlett
f213a97ea0
Add new files for sha512 support
2010-10-03 01:15:04 +00:00
Andrew Bartlett
21460dfc14
s4:heimdal: import lorikeet-heimdal-201010022046 (commit 1bea031b9404b14114b0272ecbe56e60c567af5c)
2010-10-03 01:15:04 +00:00
Andrew Bartlett
a2c4f54dfb
s4-heimdal We don't need HDBDIR any more
2010-10-03 01:15:04 +00:00
Matthieu Patou
f02d82595f
heimdal: change the version string
2010-10-03 01:15:04 +00:00
Andrew Bartlett
3ca886b835
s4-heimdal_build fix up build after heimdal import
...
Heimdal has it's own dynconfig like system, and so we need the
LIBDIR etc in the CFLAGS here.
We also need to define build rules for the new files imported in
the merge commit, and fix up some header files.
This includes the work by Matthieu Patou <mat@matws.net>
Andrew Bartlett
2010-10-03 01:15:04 +00:00
Matthieu Patou
ab6e3fce04
s4:heimdal: import lorikeet-heimdal-201009250123 (commit 42cabfb5b683dbcb97d583c397b897507689e382)
...
I based this on Matthieu's import of lorikeet-heimdal, and then
updated it to this commit.
Andrew Bartlett
2010-10-03 01:15:04 +00:00
Kamen Mazdrashki
197a1514d6
s4-ldapcmp.py: Don't guess credentials for second Credentials object
...
This allow us to fallback to first credentials given.
Autobuild-User: Kamen Mazdrashki <kamenim@samba.org>
Autobuild-Date: Sat Oct 2 23:05:20 UTC 2010 on sn-devel-104
2010-10-02 23:05:20 +00:00
Kamen Mazdrashki
da0f3bd229
s4-getopt.py: Make Anonymous creds when no credentials
...
are supplied on command line and caller doesn't want us
to guess credentials from environment
2010-10-03 01:24:57 +03:00
Kamen Mazdrashki
d385d9a317
s4-test-fsmo.py: Implement kind of busy-wait for role transfer
...
This allows us not to hard code timeout we are going to wait for
before failing the test - if DCs are not very busy, we won't wait
at all (speeds up 'make test' by a minute also)
Maximum timeout to wait for is set to 20 secs currently,
which should be enough even for slow machines and tested
DCs being under load
2010-10-03 01:24:57 +03:00
Kamen Mazdrashki
657d4d8812
s4-test-dsdb_schema_info.py: Get rid of global module variables
2010-10-03 01:24:57 +03:00
Kamen Mazdrashki
83a15155eb
s4-test-dsdb_schema_info.py: Simplify connection SamDB
...
by using samba.tests.connect_samdb() helper
2010-10-03 01:24:57 +03:00
Kamen Mazdrashki
2a23f0d524
s4-test-fsmo.py: Use common implementation for env_get_var_value()
2010-10-03 01:24:57 +03:00
Kamen Mazdrashki
c05180caa7
s4-test-delete_object.py: Use common implementation for env_get_var_value()
2010-10-03 01:24:57 +03:00
Kamen Mazdrashki
302e1d29d8
s4-python-test: Common implementation for getting environment variable value
...
Unit-test based python tests require certain input parameters
to be set in environment, otherwise they can't be run
2010-10-03 01:24:56 +03:00
Kamen Mazdrashki
6546127b64
s4-python-samba: Remove trailing ';'s
2010-10-03 01:24:56 +03:00
Kamen Mazdrashki
6bc7c015fb
s4-test-fsmo.py: Use common implementation for connect_samdb()
...
Connections are restricted to LDAP only (remote),
as this test can't be run against local LDBs
2010-10-03 01:24:56 +03:00
Kamen Mazdrashki
98e4d2702a
s4-test-delete_object.py: Use common implementation for connect_samdb()
...
Connections are restricted to LDAP only (remote),
as this test can't be run against local LDBs
2010-10-03 01:24:56 +03:00
Kamen Mazdrashki
7acbb7346f
s4-python-test: Implement global connect_samdb() function
...
This helper makes proper ldb url to connect to
and is a shorthand for test to create SamDB connections
2010-10-03 01:24:56 +03:00
Kamen Mazdrashki
46ac1c3b47
s4-samba.samdb: Fix masking names from outer context
...
- 'filter' is built-in
- 'ldb' is a module name we imported
2010-10-03 01:24:56 +03:00
Kamen Mazdrashki
0cb476fb26
s4-python-samba: 'file' is a built-in
2010-10-03 01:24:55 +03:00
Kamen Mazdrashki
edfb8c64f6
s4-samba.samdb: Fix leading indention and trailing ';'
2010-10-03 01:24:55 +03:00
Kamen Mazdrashki
e9620c5fd2
s4-python-samba: Fix few cosmetics
...
- we have sys module already imported
- _glue module is part of samba package so be more precise how to import
2010-10-03 01:24:55 +03:00
Volker Lendecke
24f1893b5d
s3: Attempt to fix the non-ads build
2010-10-03 00:17:44 +02:00
Jelmer Vernooij
b9bef1fd3f
land-remote: Pass extra arguments on to land.
2010-10-03 00:04:59 +02:00
Jelmer Vernooij
22f633d094
pytdb: Include Python.h first to prevent warning.
2010-10-02 23:40:19 +02:00
Jelmer Vernooij
5cdef70823
subunithelper: Remove accidentally added line.
2010-10-02 23:32:12 +02:00
Kirill Smelkov
ab37c48e57
pytdb: Check errors after PyObject_New() calls
...
The call could fail with e.g. MemoryError, and we'll dereference NULL
pointer without checking.
Signed-off-by: Kirill Smelkov <kirr@landau.phys.spbu.ru>
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-10-02 22:53:27 +02:00
Kirill Smelkov
bdd6bef5dd
pytdb: Add support for tdb_repack()
...
Cc: 597386@bugs.debian.org
Signed-off-by: Kirill Smelkov <kirr@landau.phys.spbu.ru>
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-10-02 22:40:56 +02:00
Kirill Smelkov
a29142855e
pytdb: Add TDB_INCOMPATIBLE_HASH open flag
...
In 2dcf76 Rusty added TDB_INCOMPATIBLE_HASH open flag which selects
Jenkins lookup3 hash for new databases.
Expose this flag to python users too.
Cc: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: Kirill Smelkov <kirr@mns.spb.ru>
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-10-02 22:36:52 +02:00
Jelmer Vernooij
14efa95593
subunithelper: Fix format time.
2010-10-02 22:31:31 +02:00
Jelmer Vernooij
20c65121a7
land: Implement --fail-immediately directly in Python, provide subunit file.
2010-10-02 20:32:16 +02:00
Jelmer Vernooij
72119de02b
subunithelper: Make filter options optional.
2010-10-02 18:41:14 +02:00
Jelmer Vernooij
d7edb40fca
format-subunit: Split out summary file writing.
2010-10-02 18:40:44 +02:00
Jelmer Vernooij
4ece674a99
selftest: Move plain text formatter to subunithelper.
2010-10-02 17:02:02 +02:00
Jelmer Vernooij
8354518c96
land: Add separate treestagebuilder for subunit.
2010-10-02 13:26:36 +02:00
Jelmer Vernooij
b965a65e03
land: Cherry-pick tridges changes to autobuild.
2010-10-02 13:17:25 +02:00
Jelmer Vernooij
4190bd4e34
land: Move stage building into a separate class so we can have subclasses (e.g. subunit-specific).
2010-10-02 13:14:53 +02:00
Jelmer Vernooij
554289c261
land: Only pass shell=True if necessary.
2010-10-02 13:14:53 +02:00
Jelmer Vernooij
d03ff1c9da
land: Add --fail-slowly option.
2010-10-02 13:14:53 +02:00
Jelmer Vernooij
916904443d
Several smaller cleanups, use python coding style.
2010-10-02 13:14:51 +02:00