Jelmer Vernooij
11a77fe2d7
subunitrun: Don't load smb.conf when just listing tests.
2011-11-14 15:49:36 +01:00
Jelmer Vernooij
f625d362d7
Remove broken code - these lines use undefined symbols.
2011-11-14 15:49:36 +01:00
Jelmer Vernooij
03759fe022
waf: Fix uselib_store for system libsubunit.
2011-11-14 15:49:36 +01:00
Jelmer Vernooij
38495995c9
selftesthelpers: Cope with empty binary mappings list, simplify handling of perl.
2011-11-14 15:49:36 +01:00
Stefan Metzmacher
17c529a35f
s4:selftest: samba4.urgent_replication.python needs to run as "dc:local"
...
As it uses local files on the dc.
metze
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Mon Nov 14 15:48:33 CET 2011 on sn-devel-104
2011-11-14 15:48:33 +01:00
Stefan Metzmacher
b4428d771f
selftest/selftesthelpers.py: construct a fullname with env in plantestsuite_idlist()
...
Like we already do for plantestsuite_loadlist()
metze
2011-11-14 14:11:28 +01:00
Stefan Metzmacher
77c73f1d92
selftest: planpythontestsuite() should fill 'name' is it's None
...
Otherwise make test shows tests with name "None".
metze
2011-11-14 14:11:28 +01:00
Stefan Metzmacher
72cabbbe50
s3:smb2_flush: outbody only needs 4 bytes
...
metze
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Mon Nov 14 10:01:30 CET 2011 on sn-devel-104
2011-11-14 10:01:30 +01:00
Jelmer Vernooij
7846bc613d
Move testr configuration to root.
...
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Sun Nov 13 23:19:27 CET 2011 on sn-devel-104
2011-11-13 23:19:27 +01:00
Jelmer Vernooij
86afe83d86
waf: Factor checking for undefined symbol flags out into separate method.
...
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Sun Nov 13 19:38:38 CET 2011 on sn-devel-104
2011-11-13 19:38:38 +01:00
Jelmer Vernooij
af5c6fba68
waf: Simplify handling of python modules.
2011-11-13 18:06:06 +01:00
Jelmer Vernooij
126209d2e5
Revert 9a5ae8edd6d006c078b3af8fdfd84677a63276b1.
2011-11-13 18:06:06 +01:00
Jelmer Vernooij
3585abcd4c
pytdb: Shorter description which fits on a single line.
2011-11-13 18:06:06 +01:00
Jelmer Vernooij
a4c2ba66cb
testtools: Import new upstream snapshot.
2011-11-13 18:06:06 +01:00
Jelmer Vernooij
9250177ae7
subunit: Import new upstream snapshot.
2011-11-13 18:06:06 +01:00
Jelmer Vernooij
0966be49a0
wafsamba: Support allow_undefined_symbols in SAMBA_SUBSYSTEM.
2011-11-13 18:06:06 +01:00
Jelmer Vernooij
2f29133491
wafsambaa: Support libraries that don't have the same name as their pkg-config file.
2011-11-13 18:06:06 +01:00
Jelmer Vernooij
c526078806
ldb: Only check for pkg-config file when checking for system ldb.
2011-11-13 18:06:06 +01:00
Jelmer Vernooij
b929cd2c09
tevent: Only check for pkg-config file when checking for system tevent.
2011-11-13 18:06:06 +01:00
Jelmer Vernooij
774f85649b
tdb: Only check for pkg-config file when checking for system tdb.
2011-11-13 18:06:06 +01:00
Jelmer Vernooij
39ba9b93d7
talloc: Only check for pkg-config file when checking for system talloc.
2011-11-13 18:06:06 +01:00
Jelmer Vernooij
2c388a40cc
subunit: Only check for pkg-config file and use proper pkg-config file name.
2011-11-13 18:06:06 +01:00
Jelmer Vernooij
f429b166b6
wafsamba: add CHECK_BUNDLED_SYSTEM_PKG function.
2011-11-13 18:06:06 +01:00
Jelmer Vernooij
5e8dee8d96
tevent: Only build pytevent if the system doesn't provide it.
2011-11-13 18:06:06 +01:00
Jelmer Vernooij
8aa988a455
ldb: Use pyembed rather than pyext for ldb-util library.
2011-11-13 18:06:06 +01:00
Jelmer Vernooij
011707dee8
tevent: remove unnecessary enablement.
2011-11-13 18:06:06 +01:00
Jelmer Vernooij
22c88fbc1d
pytalloc-util: Don't mark as python extension, use pyembed instead.
2011-11-13 18:06:06 +01:00
Jelmer Vernooij
312fd94002
waf: Don't link python modules against libpython2.x, consistent with other Python modules.
...
Rather, rely just on waf's pyext feature. This fixes a warning from dh_python2.
2011-11-13 18:06:06 +01:00
Jelmer Vernooij
c529c12c7d
upgrade: use logger.warning.
2011-11-13 18:06:06 +01:00
Matthieu Patou
576ea40ece
samba-tool: allow dbcheck to correct the originating_change_time of the deleted object container
...
Autobuild-User: Matthieu Patou <mat@samba.org>
Autobuild-Date: Sun Nov 13 15:47:53 CET 2011 on sn-devel-104
2011-11-13 15:47:53 +01:00
Matthieu Patou
85af1ed9b8
s4-dsdb: initialize correctly the value of originating_change_time for the Deleted Object Container
2011-11-13 14:11:26 +01:00
Matthieu Patou
b8a077296a
s4-drs: check if we have a domain level >= 2k8r2 as before the isRecycled do not exists and so is always False
...
Having a false value cause the link on removed attribute to be always
returned which is what we try to avoid.
2011-11-13 14:11:25 +01:00
Matthieu Patou
a6686b9f98
samba-tool: dbcheck avoid problems with deleted objects
...
We have to search for deleted objects as well as the previous search
might have been done with the show_deleted control. If not samba-tool
fails with no such DN error while fetching the object.
2011-11-13 14:10:05 +01:00
Matthieu Patou
691fb365f8
s4: Simple test script to create lots of contacts to stress the LDB
...
Autobuild-User: Matthieu Patou <mat@samba.org>
Autobuild-Date: Fri Nov 11 22:02:53 CET 2011 on sn-devel-104
2011-11-11 22:02:53 +01:00
Matthieu Patou
7c9b3cdcf7
s4-librpc: do not limit to the first IP when trying to do a rpc connection
...
The function continue_ip_resolve_name was calling resolve_name_recv which returns
only the first IP for a given hostname.
Instead we use resolve_name_multiple_recv which returns all the IP for a given
hostname. This kind of problem can occur if a host has more than 1 IP but is listenning
only on 1.
2011-11-11 20:28:11 +01:00
Matthieu Patou
5d18e57bec
s4-socket: allow connect_multi_next_socket to try all the IP for a given host
...
This fix an incorrect behavior which was that if a host has 2 IP but
was listening on only 1 (and the second one) connect_multi_next_socket
was not able to connect because it used only the first result.
2011-11-11 20:28:11 +01:00
Amitay Isaacs
29b5a95b1f
py_passdb: Cannot steal an item pointer from an array
...
Autobuild-User: Amitay Isaacs <amitay@samba.org>
Autobuild-Date: Fri Nov 11 12:04:33 CET 2011 on sn-devel-104
2011-11-11 12:04:33 +01:00
Jelmer Vernooij
c2eb036d3f
policy/tests: Fix import of TestCase.
...
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Fri Nov 11 01:10:49 CET 2011 on sn-devel-104
2011-11-11 01:10:49 +01:00
Jelmer Vernooij
b24dd2ca1c
selftesthelper: Fix argument order.
2011-11-10 23:37:04 +01:00
Jelmer Vernooij
a0a31d3212
selftest: Make planoldpythontestsuite arguments consistent with planpythontestsuite.
2011-11-10 23:37:04 +01:00
Jelmer Vernooij
e0b8af57c4
selftesthelpers: Fix syntax error.
2011-11-10 23:37:04 +01:00
Jelmer Vernooij
0fcec8bfa0
selftest: Simplify calling of python tests.
2011-11-10 23:37:04 +01:00
Jelmer Vernooij
8ea8683f72
selftest: Allow passing arbitrary number of additional python path values.
2011-11-10 23:37:04 +01:00
Jelmer Vernooij
a0ed2da105
ldb: Re-apply pyldb fixes from Tridge and Amity, using unittest rather
...
than samba.tests.
2011-11-10 23:37:04 +01:00
Jelmer Vernooij
ad40581142
subunitrun: Add notes about subunitrun being deprecated.
2011-11-10 23:37:04 +01:00
Jelmer Vernooij
d84ba4fc0a
selftest: re-implement directory option for planpythontestsuite.
2011-11-10 23:37:04 +01:00
Jelmer Vernooij
f5d3e45722
Revert "test: added directory option to planpythontestsuite()"
...
This reverts commit b0be72d508
.
I'll add an alternative that uses subunit.run.
2011-11-10 23:37:04 +01:00
Jelmer Vernooij
ae88d7390b
Revert "test: added -D option to subunitrun"
...
This reverts commit ac0bba2ea1
.
"python -m subunit.run" is the preferred way of running tests to
generate subunit. I also don't want to move too far away from
the standard test running infrastructure for python so that
other test runners (nosetests, trial, tribunal, ...) can be used with
Samba code.
2011-11-10 23:37:04 +01:00
Jelmer Vernooij
04be49f600
Revert "pyldb: fixed ldb API test"
...
This reverts commit 333248f08c
.
This commit made the pyldb tests depend on the Samba testsuite.
2011-11-10 23:37:04 +01:00
Matthias Dieter Wallnöfer
4cafcf0e6b
libcli/cldap/cldap.c - remove outdated comment
...
Reviewed-by: metze
Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org>
Autobuild-Date: Thu Nov 10 20:32:08 CET 2011 on sn-devel-104
2011-11-10 20:32:08 +01:00