1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-14 19:24:43 +03:00

47 Commits

Author SHA1 Message Date
Michael Adam
dfc84928d7 libreplace: add extended getifaddrs test that prints out the interfaces.
Michael
(This used to be commit 9d2bab09aac22c00fe23f1e1265a2dbd0901e9ce)
2008-02-28 23:01:15 +01:00
Jelmer Vernooij
3c12ad6a95 r26346: Add tests for loadparm.
(This used to be commit 064a2329e13f1d904142da1cac486c126a2fe57d)
2007-12-21 05:48:52 +01:00
Jelmer Vernooij
afafeca814 r26004: Add some simple credentials tests.
(This used to be commit e96c722cbfe30a4f9c1f843b48e8cf5b78aa13e7)
2007-12-21 05:45:40 +01:00
Jelmer Vernooij
81ad27b309 r25935: Fix registry tests.
(This used to be commit b311094714b4d51ea7ea756df1aecba169dc0d45)
2007-12-21 05:45:09 +01:00
Jelmer Vernooij
dbc78e2016 r25928: Split up torture-local a bit.
(This used to be commit c6b109040856ba0f1ae0db2787cc838ff61df767)
2007-12-21 05:45:06 +01:00
Jelmer Vernooij
6ee570c327 r25927: Move share tests to param directory.
(This used to be commit f12f623da52aefdf49df9b77d87b9b0d48177c14)
2007-12-21 05:45:05 +01:00
Jelmer Vernooij
a86920600a r25926: Move iconv test to iconv code directory.
(This used to be commit e20c4b90e4a935d3249d0b631b942fd318a2ece2)
2007-12-21 05:45:05 +01:00
Jelmer Vernooij
0bccc88392 r25903: Move more files out of torture/
(This used to be commit f734df3144cdd9ff280ee1cac2c3a7f972716f5d)
2007-12-21 05:44:46 +01:00
Jelmer Vernooij
f924ac9744 r25902: Move messaging tests to same directory as code.
(This used to be commit d174dcbb76f3079a5f536f841bfffab3d7cd51e9)
2007-12-21 05:44:45 +01:00
Jelmer Vernooij
f2d64e1c45 r25306: Add tests for string_sub().
(This used to be commit 2d37ddcbd1243f48d81af17d8ea3cdd6e8e35b8d)
2007-10-10 15:07:11 -05:00
Jelmer Vernooij
b409d4120f r24667: Finally merge the registry improvements that Wilco Baan Hofman and I have
been working on for at least half a year now. Contains the following
improvements:

 * proper layering (finally!) for the registry library. Distinction is
   now made between 'real' backends (local, remote, wine, etc) and
   the low-level hive backends (regf, creg, ldb, ...) that are only used
   by the local registry backend
 * tests for all important hive and registry operations
 * re-enable RPC-WINREG tests (still needs more work though, as
							   some return values aren't checked yet)
 * write support for REGF files
 * dir backend now supports setting/reading values, creating keys
 * support for storing security descriptors
 * remove CREG backend as it was incomplete, didn't match the data model
   and wasn't used at all anyway
 * support for parsing ADM files as used by the policy editor (see lib/policy)
 * support for parsing PREG files (format used by .POL files)
 * new streaming interface for registry diffs (improves speed and memory usage
	for regdiff/regpatch significantly)

   ... and fixes a large number of bugs in the registry code
(This used to be commit 7a1eec6358bc863dfc671c542b7185d3e39d7b5a)
2007-10-10 15:02:34 -05:00
Stefan Metzmacher
65881651c6 r22407: this dependecies should be private
metze
(This used to be commit 7ad60e62fd4fb1317cc86ef430d35d2c54fd20c2)
2007-10-10 14:51:15 -05:00
Jelmer Vernooij
f40244af7b r22328: Add initial testsuite for share code.
(This used to be commit 3d079732a9cf15fcc3638db5f77bb45d7580d251)
2007-10-10 14:51:03 -05:00
Stefan Metzmacher
aea41afb52 r22216: move strptime testsuite into it's own file
so we can include it for the configure test

as it seems that strptime() is really broken on some hosts
in the build farm, re should use the replacement code
when we detect this in the configure test

metze
(This used to be commit 08a5e9760643b9fbf00fdcf7163de7cf50e841e6)
2007-10-10 14:50:38 -05:00
Jelmer Vernooij
1d75e907e2 r21694: Some more testing updates.
(This used to be commit 9247626b1c5f1eec0cedd6be221aafc41d9a26ab)
2007-10-10 14:49:13 -05:00
Jelmer Vernooij
0474005d07 r21691: Add testsuite for lib/charset
(This used to be commit a4184893959bb25541704938ee621e5c575b817d)
2007-10-10 14:49:13 -05:00
Jelmer Vernooij
bf08493a78 r21688: Add simple tests for genrand
(This used to be commit 90f23f0de86bb63ad65556ff2dab8b066236f300)
2007-10-10 14:49:12 -05:00
Jelmer Vernooij
1cc7b6e739 r21671: Add initial simple tests for socket wrapper
(This used to be commit 872e2ad541478597191ca9e31872d5c8e2bbb832)
2007-10-10 14:49:07 -05:00
Jelmer Vernooij
1afda7bdde r21656: Move tests a bit closer to the things they test, should make syncing with samba3 easier.
(This used to be commit 4d755fb5d7adedd1dd8bad917b921324411bfd59)
2007-10-10 14:49:05 -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 15a4b81ba0b5eeb25126a0b1a7bea7d3bf921ab2)
2007-10-10 14:48:24 -05:00
Jelmer Vernooij
ff7f8b57f1 r20962: Fix lcov
(This used to be commit 3d3d3031c80b56c824ab8a0f3616d564f092a110)
2007-10-10 14:44:03 -05:00
Jelmer Vernooij
c81f2930a2 r19676: Fix some more dependencies.
(This used to be commit 8768bec81f57131a0c9754e8121b345c0be4a5d0)
2007-10-10 14:25:29 -05:00
Jelmer Vernooij
4fa24df98d r19507: Merge my DSO fixes branch. Building Samba's libraries as shared libraries
works again now, by specifying --enable-dso to configure.
(This used to be commit 7a01235067a4800b07b8919a6a475954bfb0b04c)
2007-10-10 14:24:41 -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 8913d60c72a67b041b08d569c9bd048953106c85)
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 48d316e7594dfc29b8e6a710e32bb5a6a036b7cf)
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 e1742c14a247fabba969f8698108e73997d3f420)
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 0eb6097305776325c75081356309115f445a7218)
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 10f8260455a55530f5701a136af8fa8b05ca8532)
2007-10-10 14:21:03 -05:00
Stefan Metzmacher
bc619e7328 r19035: add LOCAL-REPLACE test
metze
(This used to be commit e95a1ab2cd568ef5492dfae130cb2e937ac15194)
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 200b1a5c81bd61320ac6b7e79880411920e3f432)
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 5609ab2116e3568e4f1a82b3ae781f17a6ffb645)
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 bb1e4954f9aa60858a2c5b2f798f10fd75849b42)
2007-10-10 14:15:28 -05:00
Stefan Metzmacher
0d235919fb r17488: - add SHA1 and HMACSHA1 functions, based on rfc 2104,2202,3174
- and add torture tests also based on the rfc's

metze
(This used to be commit d48930a02f9560640697fd57e4bba03dc0abe284)
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 c9d287dc0e3f8fc4e8399cd5095ef38f2b9f40c6)
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 819d3b457648ffb7526a770e842badc17b6061fb)
2007-10-10 14:09:11 -05:00
Stefan Metzmacher
20389549f1 r15862: add a LOCAL-EVENT torture test
- it currently tests the standard events code
- with epoll enabled and disabled

metze
(This used to be commit ce5fd2293d5ce1f6a54048bc5662706943c98eb5)
2007-10-10 14:08:34 -05:00
Jelmer Vernooij
495652fe24 r15821: Fix static library build.
(This used to be commit d9d8f93af12c08d3b66c0bec014016ea8ee11166)
2007-10-10 14:08:28 -05:00
Jelmer Vernooij
9ee60bc671 r15605: Yet another dependencies fix
(This used to be commit eef495a8efd8d5e8bcb42226b1885648774c5c76)
2007-10-10 14:06:59 -05:00
Jelmer Vernooij
172a83d724 r15573: Fix build of systems that have iconv headers in non-standard locations
Split of system/locale.h header from system/iconv.h

Previously, iconv wasn't being used on these systems
(This used to be commit aa6d66fda69779d1c2948a1aca85dbd5208f1cba)
2007-10-10 14:05:58 -05:00
Jelmer Vernooij
f7c86b912d r15331: Integrate LIBSMB and LIBCLI into new LIBCLI_SMB
(This used to be commit 4ec89bce8715f35f21fe05bb738dae13fc6c3066)
2007-10-10 14:05:18 -05:00
Jelmer Vernooij
69b51f702a r15207: Introduce PRIVATE_DEPENDENCIES and PUBLIC_DEPENDENCIES as replacement
for REQUIRED_SUBSYSTEMS.
(This used to be commit adc8a019b6da256f104abed1b82bfde6998a2ac9)
2007-10-10 14:04:18 -05:00
Jelmer Vernooij
5c79bbadd5 r14497: Fix build with shared libraries
(This used to be commit c74fc55831ca24819ae7f5e0920d0351e2b46a08)
2007-10-10 13:57:34 -05:00
Jelmer Vernooij
ceb6e9717b r13960: Generate makefile rules for installing/removing shared modules.
(This used to be commit 2c746980328431ab04852dc668899e3eb042da99)
2007-10-10 13:52:32 -05:00
Stefan Metzmacher
1a53c1dc92 r13346: use private proto header files for the torture tests
metze
(This used to be commit 67837dbd2bcff8ec1917ba02884ee2eaa0776b46)
2007-10-10 13:51:47 -05:00
Jelmer Vernooij
19d606ce18 r12584: Move NDR tests from rpc/ to local/, add to list of tests
to run for 'make all'
(This used to be commit e71cd4778b9a872642619452e574f510e2491052)
2007-10-10 13:48:59 -05:00
Jelmer Vernooij
d8e35f8828 r12498: Eliminate INIT_OBJ_FILES and ADD_OBJ_FILES. We were not using
the difference between these at all, and in the future the
fact that INIT_OBJ_FILES include smb_build.h will be sufficient to
have recompiles at the right time.
(This used to be commit b24f2583edee38abafa58578d8b5c4b43e517def)
2007-10-10 13:47:45 -05:00
Andrew Tridgell
3aaa6ff496 r12008: added a simple LOCAL-SDDL test suite. Only one example so far. Will be
filled in with more examples as I expand the sddl parsing code.
(This used to be commit 8f80e483a3aa07bb5a16eeccde5af5cd7fb5a975)
2007-10-10 13:46:58 -05:00