1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-28 07:21:54 +03:00
Commit Graph

41 Commits

Author SHA1 Message Date
Andrew Tridgell
d6299d2667 replace: create a private replace-test library
used by replace_testuite and smbtorture
2010-10-30 23:48:59 +11:00
Andrew Tridgell
91cb7b7c60 test:local added LOCAL-DLINKLIST testsuite
(cherry picked from commit 95a5bee2c30a67a35604b0456ab7836f6dc67702)
2010-02-10 15:55:34 -08:00
Andrew Bartlett
2a601719f2 s4:dsdb Add expected value tests for most DRS syntax conversions
I've left out those for which I could not find an expected value in my
default Windows 2003 server's database, and the values that rely on
the current prefix map at the time.

Andrew Bartlett
2009-11-12 16:34:12 +11:00
Andrew Bartlett
da1ac55bc1 s4:dsdb Add extensive tests for the behaviour of dsdb_dn 2009-11-12 16:34:06 +11:00
Andrew Tridgell
84d0047377 s4-torture: ran minimal_includes.pl over source4/torture
This reduces compile time somewhat.
2009-10-20 16:04:46 +11:00
Kamen Mazdrashki
bd5343924f s4/asn1: Added torture suite for ASN1 2009-10-01 23:12:59 +02:00
Jelmer Vernooij
db55ea08bc parmlist: Add basic tests for test_get_int(). 2009-09-27 14:39:58 +02:00
Günther Deschner
36fc0b961f s4-smbtorture: add a very basic NSS-WRAPPER testsuite.
Guenther
2009-05-29 13:50:09 +02:00
Jelmer Vernooij
5b33624113 Rename the top-level LDB test to LOCAL-LDB, so it gets picked up by the
script that determines the tests to run.
2009-04-24 09:50:05 +02:00
Jelmer Vernooij
d7371dae24 Add one-test testsuite for datablob. 2008-10-12 01:56:11 +02:00
Jelmer Vernooij
75a36a9a54 Add some simple tests for lib/util/time.c 2008-10-11 23:25:35 +02:00
Jelmer Vernooij
6925202bde Move source4/lib/crypto to lib/crypto. 2008-09-24 15:30:23 +02:00
Stefan Metzmacher
8699913858 lib/crypto: remove unused sha1 and hmac-sha1 code
metze
(This used to be commit 2c8904be3b)
2008-06-04 09:12:24 +02:00
Jelmer Vernooij
1e973565b6 Move subunit infrastructure code into lib/torture.
(This used to be commit 5b44d8121d)
2008-04-27 14:02:46 +01:00
Jelmer Vernooij
3c12ad6a95 r26346: Add tests for loadparm.
(This used to be commit 064a2329e1)
2007-12-21 05:48:52 +01:00
Jelmer Vernooij
afafeca814 r26004: Add some simple credentials tests.
(This used to be commit e96c722cbf)
2007-12-21 05:45:40 +01:00
Jelmer Vernooij
81ad27b309 r25935: Fix registry tests.
(This used to be commit b311094714)
2007-12-21 05:45:09 +01:00
Jelmer Vernooij
73f88ad250 r25931: Add config .mk file for crypto lib.
(This used to be commit 21ab43158f)
2007-12-21 05:45:07 +01:00
Jelmer Vernooij
dbc78e2016 r25928: Split up torture-local a bit.
(This used to be commit c6b1090408)
2007-12-21 05:45:06 +01:00
Jelmer Vernooij
f2d64e1c45 r25306: Add tests for string_sub().
(This used to be commit 2d37ddcbd1)
2007-10-10 15:07:11 -05:00
Andrew Tridgell
0479a2f1cb r23792: convert Samba4 to GPLv3
There are still a few tidyups of old FSF addresses to come (in both s3
and s4). More commits soon.
(This used to be commit fcf38a38ac)
2007-10-10 14:59:12 -05:00
Andrew Bartlett
61e5856403 r22883: Indentation.
(This used to be commit 7548da913d)
2007-10-10 14:52:28 -05:00
Jelmer Vernooij
f40244af7b r22328: Add initial testsuite for share code.
(This used to be commit 3d079732a9)
2007-10-10 14:51:03 -05:00
Jelmer Vernooij
1d75e907e2 r21694: Some more testing updates.
(This used to be commit 9247626b1c)
2007-10-10 14:49:13 -05:00
Jelmer Vernooij
0474005d07 r21691: Add testsuite for lib/charset
(This used to be commit a418489395)
2007-10-10 14:49:13 -05:00
Jelmer Vernooij
bf08493a78 r21688: Add simple tests for genrand
(This used to be commit 90f23f0de8)
2007-10-10 14:49:12 -05:00
Jelmer Vernooij
1cc7b6e739 r21671: Add initial simple tests for socket wrapper
(This used to be commit 872e2ad541)
2007-10-10 14:49:07 -05:00
Jelmer Vernooij
b7a46675fb r21386: Run all NDR tests in the buildfarm, import some functions from Samba3's IDL.
(This used to be commit 15a4b81ba0)
2007-10-10 14:48:24 -05:00
Jelmer Vernooij
ff7f8b57f1 r20962: Fix lcov
(This used to be commit 3d3d3031c8)
2007-10-10 14:44:03 -05:00
Jelmer Vernooij
bc596cf917 r19495: Stop linking binaries twice (once before installation, once during build).
Make TORTURE-TALLOC and TORTURE-REPLACE builtin again rather than
separate binaries.
(This used to be commit 8913d60c72)
2007-10-10 14:24:39 -05:00
Jelmer Vernooij
8acb0575c7 r19373: Merge changes from subunit branch: Convert libreplace testsuite to a
standalone program that speaks subunit.
(This used to be commit 48d316e759)
2007-10-10 14:21:19 -05:00
Jelmer Vernooij
52e3f69a36 r19343: Add support for external scripts/binaries that write results using the
'subunit' protocol. This allows us to easily plug EJS scripts or binaries that
can't depend on -ltorture into smbtorture. The protocol is very simple:

- write "comments" to stderr

Example output on stdout:
test: foo
success: foo
test: bar
success: bar
test: blah
failure: blah [
dummy.c:30: Expression 1 != 2 failed!
]
test: blie
skip: blie [
Iconv support not built in
]

I've already converted the talloc testsuite.
(This used to be commit e1742c14a2)
2007-10-10 14:21:13 -05:00
Jelmer Vernooij
8773e743c5 r19339: Merge my 4.0-unittest branch. This adds an API for more fine-grained
output in the testsuite rather than just True or False for a
set of tests.

The aim is to use this for:
 * known failure lists (run all tests and detect tests that
						started working or started failing). This
   would allow us to get rid of the RPC-SAMBA3-* tests
 * nicer torture output
 * simplification of the testsuite system
 * compatibility with other unit testing systems
 * easier usage of smbtorture (being able to run one test
						and automatically set up the environment for that)

This is still a work-in-progress; expect more updates over the next couple of
days.
(This used to be commit 0eb6097305)
2007-10-10 14:21:12 -05:00
Andrew Tridgell
3433468e12 r19294: a little speed tester for ldb/tdb
I wrote this to see if using a ldb for idmap store (the equivalent of
winbindd_idmap.tdb) makes sense. It's a long lived database that
administrators may wish to edit, so ldb makes sense, but at the moment
ldb is too slow. This test will help us speed it up.
(This used to be commit 10f8260455)
2007-10-10 14:21:03 -05:00
Stefan Metzmacher
bc619e7328 r19035: add LOCAL-REPLACE test
metze
(This used to be commit e95a1ab2cd)
2007-10-10 14:20:30 -05:00
Stefan Metzmacher
1935ef0d54 r17539: add HMAC-MD5 test code based on the example values from rfc 2104, 2202
metze
(This used to be commit 200b1a5c81)
2007-10-10 14:15:35 -05:00
Stefan Metzmacher
b165e48b3e r17494: add tests for the example values from rfc 1320 (MD4)
metze
(This used to be commit 5609ab2116)
2007-10-10 14:15:29 -05:00
Stefan Metzmacher
559158a3c9 r17492: add a test with the example values from rfc1321 (MD5)
metze
(This used to be commit bb1e4954f9)
2007-10-10 14:15:28 -05:00
Stefan Metzmacher
a573ae9978 r17491: I forgot to commit this...fix make test...sorry:-)
metze
(This used to be commit 408e507f0f)
2007-10-10 14:15:28 -05:00
Jelmer Vernooij
c692456f24 r16518: Split up torture_util.c in smb and non-smb specific parts.
Add torture_temp_dir() function, with test.
(This used to be commit c9d287dc0e)
2007-10-10 14:09:31 -05:00
Jelmer Vernooij
845df42a19 r16333: Move more code out of the core smbtorture. It now no longer
contains protocol-specific code.
(This used to be commit 819d3b4576)
2007-10-10 14:09:11 -05:00