Kai Blin
26a0e7a3f5
s4 dns: Test deleting records and fix a small bu
...
Autobuild-User: Kai Blin <kai@samba.org>
Autobuild-Date: Sun Mar 11 02:27:45 CET 2012 on sn-devel-104
2012-03-11 02:27:45 +01:00
Kai Blin
a4bc7dc281
s4 dns: Clean up tests a bit
2012-03-11 00:31:37 +01:00
Kai Blin
98ae3592ad
s4 dns: Support TXT updates, add tests
2012-03-11 00:31:37 +01:00
Jelmer Vernooij
f076186d3a
samba.tests.blackbox.samba_tool_drs: Remove unused import.
2012-03-10 21:31:55 +01:00
Jelmer Vernooij
7320a5c900
samba.tests.samba_tool.base: Avoid unnecessary call to testtools.matchers.Contains.
...
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Sat Mar 10 05:27:51 CET 2012 on sn-devel-104
2012-03-10 05:27:51 +01:00
Jelmer Vernooij
b703267dfc
samba.tests.samba_tool.user: Remove unused imports.
2012-03-10 03:48:46 +01:00
Kai Blin
c7f67142c0
s4 dns: Fix TCP handling in the DNS server
...
Autobuild-User: Kai Blin <kai@samba.org>
Autobuild-Date: Tue Mar 6 21:17:19 CET 2012 on sn-devel-104
2012-03-06 21:17:18 +01:00
Jelmer Vernooij
f033c221f8
policy/python: Move python binding tests to standard location.
...
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Tue Mar 6 02:26:29 CET 2012 on sn-devel-104
2012-03-06 02:26:29 +01:00
Jelmer Vernooij
8008228b94
samba.xattr: Massively simplify copytree_with_xattrs.
2012-02-27 03:52:05 +01:00
Jelmer Vernooij
852418133e
provision: Simplify make_smbconf a bit.
2012-02-26 23:19:07 +01:00
Jelmer Vernooij
3b738a5914
provision: Add tests for determine_netbios_name.
2012-02-26 20:52:05 +01:00
Jelmer Vernooij
6664541156
provision: Split out result reporting for backends.
2012-02-26 16:27:06 +01:00
Jelmer Vernooij
eeb5f66d90
provision: Put adminpass details in ProvisionResult.
2012-02-26 16:27:06 +01:00
Jelmer Vernooij
3e6fa054f9
provision/tests: Test for phpldapadminconfig path.
2012-02-26 16:27:06 +01:00
Jelmer Vernooij
21f443eb82
provision: Leave result reporting up to caller.
2012-02-26 16:27:06 +01:00
Jelmer Vernooij
fe3274d9cb
provision: Start splitting out provision result reporting from actual provisioning.
...
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Sat Feb 25 22:13:10 CET 2012 on sn-devel-104
2012-02-25 22:13:10 +01:00
Jelmer Vernooij
d06eeb7949
Factor out sanitize_server_role.
2012-02-25 20:39:05 +01:00
Jelmer Vernooij
a977de9fdf
s4-python: Various formatting fixes.
2012-02-18 23:59:48 +01:00
Jelmer Vernooij
209d3c0b71
tests/source: Add wafsamba/ files to list of Python files to check.
...
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Fri Feb 10 01:45:16 CET 2012 on sn-devel-104
2012-02-10 01:45:16 +01:00
Amitay Isaacs
1f0298dd1b
python: Change except: statement to except Exception:
...
This way we only catch true exceptions and keyboard interrupts
are not caught here.
Autobuild-User: Amitay Isaacs <amitay@samba.org>
Autobuild-Date: Tue Jan 24 03:32:40 CET 2012 on sn-devel-104
2012-01-24 03:32:40 +01:00
Stefan Metzmacher
0f14ac40a2
s4:pygensec/tests: add test for gensec_set_max_update_size()
...
metze
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Thu Jan 12 14:47:05 CET 2012 on sn-devel-104
2012-01-12 14:47:05 +01:00
Matthias Dieter Wallnöfer
354e43ca1e
s4:python tests __init__.py - do not depend on "subprocess.check_call()"
...
Method not present in Python 2.4
Reviewed-by: Jelmer
Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org>
Autobuild-Date: Tue Jan 10 00:41:59 CET 2012 on sn-devel-104
2012-01-10 00:41:59 +01:00
Matthias Dieter Wallnöfer
a43b472b62
s4:python tests __init__.py - do not depend on "subprocess.CalledProcessError"
...
The class is not present in Python 2.4
Reviewed-by: Jelmer
2012-01-09 23:08:36 +01:00
Stefan Metzmacher
9465b9ce6f
s4:pygensec/tests: check that the client and server have the same session key
...
metze
2012-01-04 20:55:05 +01:00
Andrew Bartlett
502140a6ff
s4-gensec: Pass the auth context in during gensec test
2011-12-29 14:01:55 +11:00
Amitay Isaacs
809092a7ad
test:dnsserver: Add zone creation and deletion test
2011-12-23 16:18:26 +11:00
Kai Blin
02c9e18094
s4 dns: Update prerequisite checking conforming to RFC
2011-12-17 02:46:08 +01:00
Kai Blin
589d995276
s4 dns: Give better test output on RCODE mismatch
2011-12-17 02:46:08 +01:00
Kai Blin
c01efc1207
s4 dns: Update requests with QCLASS != IN or ALL trigger NOTIMPLEMENTED errors
...
Autobuild-User: Kai Blin <kai@samba.org>
Autobuild-Date: Fri Dec 9 03:32:28 CET 2011 on sn-devel-104
2011-12-09 03:32:28 +01:00
Kai Blin
358a81eff5
s4 dns: Add test to prove two updates in one packet are a FORMERR
2011-12-09 01:59:28 +01:00
Jelmer Vernooij
31eba612f4
Add test for PEP8 - currently all errors are ignored, but we warn about them - and can ratchet if we want to.
...
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Thu Dec 8 23:44:10 CET 2011 on sn-devel-104
2011-12-08 23:44:10 +01:00
Jelmer Vernooij
a47970cae6
Add tests for srvsvc python interface. Thanks Dhananjay Sathe
...
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Thu Dec 8 04:57:52 CET 2011 on sn-devel-104
2011-12-08 04:57:52 +01:00
Kai Blin
c326b37358
s4 dns: Test SOA queries
...
Autobuild-User: Kai Blin <kai@samba.org>
Autobuild-Date: Sat Dec 3 20:52:51 CET 2011 on sn-devel-104
2011-12-03 20:52:51 +01:00
Amitay Isaacs
5184fc8893
s4-test: Remove metadata and ldb.d directory on clean up
...
When using partitions, metadata.tdb automatically gets created in
${prefix}ldb.d/ directory. To correctly clean up check if metadata.tdb
exists, then remove metadata.tdb and directory.
2011-11-29 16:00:36 +11:00
Kai Blin
9f1eb8ab8e
s4 dns: Test QCLASS_NONE query
...
Autobuild-User: Kai Blin <kai@samba.org>
Autobuild-Date: Thu Nov 24 14:10:45 CET 2011 on sn-devel-104
2011-11-24 14:10:44 +01:00
Kai Blin
8685a35e9c
s4 dns: Test QTYPE_ALL query
2011-11-24 12:35:08 +01:00
Kai Blin
16d9ebb396
s4 dns: Check more of the returned values for the A query
2011-11-24 12:35:08 +01:00
Kai Blin
1a599da550
s4 dns: Move dns_transaction_udp to other helper functions
2011-11-24 12:35:08 +01:00
Amitay Isaacs
cd3f552f4f
s3-py-passdb: Fix handling of uninitialized gid values
...
Uninitialized gid value is set to -1 and return as such from python
passdb api.
Autobuild-User: Amitay Isaacs <amitay@samba.org>
Autobuild-Date: Fri Nov 18 06:18:33 CET 2011 on sn-devel-104
2011-11-18 06:18:33 +01:00
Amitay Isaacs
d0e9f22654
s3-passdb_test: Policy values are converted to signed integer
...
No need to check value for 0xffffffff (4294967295).
2011-11-18 14:38:28 +11:00
Kai Blin
e5ebda4156
s4 dns: Add a first test case
2011-11-17 15:25:58 +01:00
Jelmer Vernooij
f7c8af7599
samba.tests.dsdb: Import TestCase from samba.tests.
...
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Thu Nov 17 08:36:17 CET 2011 on sn-devel-104
2011-11-17 08:36:17 +01:00
Jelmer Vernooij
1214e5f23d
samba.tests: Make sure testtools is available before importing it.
2011-11-17 07:02:15 +01:00
Andrew Tridgell
46723aa2da
s4-test: improved error checking in samba-tool time test
...
Pair-Programmed-With: Amitay Isaacs <amitay@gmail.com>
2011-11-10 14:24:21 +11:00
Sean Dague
a818253960
test: add samba-tool user tests
...
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-11-10 14:24:20 +11:00
Sean Dague
a66eae9a6d
test: Add samba-tool time tests
...
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-11-10 14:24:20 +11:00
Sean Dague
559835dc59
test: add directory and base class for samba-tool tests
...
this allows for more sophisticated testing of samba-tool
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-11-10 14:24:20 +11:00
Amitay Isaacs
5104abd573
s4-dnsserver: Test forward zones are not listed in reverse zone search
...
Autobuild-User: Amitay Isaacs <amitay@samba.org>
Autobuild-Date: Tue Nov 8 01:26:43 CET 2011 on sn-devel-104
2011-11-08 01:26:43 +01:00
Jelmer Vernooij
23d3880725
samba.netcmd: Pass in outf/errf.
...
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Wed Nov 2 20:09:40 CET 2011 on sn-devel-104
2011-11-02 20:09:40 +01:00
Amitay Isaacs
4a6410df54
s4-dnsserver: Check the raised exception with assertRaises
...
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-11-02 15:26:54 +11:00