summaryrefslogtreecommitdiff
path: root/source4/torture/local/local.c
AgeCommit message (Collapse)AuthorFilesLines
2011-04-13s4-test: added a test for E_deshash()Andrew Tridgell1-0/+1
this particularly checks the boundary conditions near passwords of length 14 characters Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Wed Apr 13 07:31:55 CEST 2011 on sn-devel-104
2011-04-13lib/util/charset Add many more charset testsAndrew Bartlett1-0/+2
This confirms that the behaviour of the convert_string() API (with the process-wide iconv handle). Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-04-13lib/util/charset Rename convert_string test to allow a 'non_handle' testAndrew Bartlett1-1/+1
A future commit will test (with a subset of tests) the varient of this function without _handle. Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-03-31lib/util/charset Add tests for strcasecmp_m(), talloc_strupper() et alAndrew Bartlett1-0/+1
This adds tests for: strncasecmp_m strcasecmp_m strupper_talloc_n strlower_talloc strhaslower strhasupper The tests can certainly be improved with pre-calculated upper and lower case text, but this at least puts them though their paces. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Thu Mar 31 14:24:22 CEST 2011 on sn-devel-104
2011-03-30lib/util/charset Add tests for convert_string_talloc_handle()Andrew Bartlett1-0/+1
Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Wed Mar 30 13:02:47 CEST 2011 on sn-devel-104
2011-01-20lib/util: add tests for anonymous_shared_allocate/free()Stefan Metzmacher1-0/+1
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Thu Jan 20 06:25:03 CET 2011 on sn-devel-104
2010-12-11s4-smbtorture: Make test names lowercase and dot-separated.Jelmer Vernooij1-7/+6
This is consistent with the test names used by selftest, should make the names less confusing and easier to integrate with other tools. Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sat Dec 11 04:16:13 CET 2010 on sn-devel-104
2010-11-12torture: Only add in tests for socket_wrapper/nss_wrapper when they have ↵Jelmer Vernooij1-0/+4
been enabled.
2010-10-30replace: create a private replace-test libraryAndrew Tridgell1-0/+1
used by replace_testuite and smbtorture
2010-02-10test:local added LOCAL-DLINKLIST testsuiteAndrew Tridgell1-0/+1
(cherry picked from commit 95a5bee2c30a67a35604b0456ab7836f6dc67702)
2009-11-12s4:dsdb Add expected value tests for most DRS syntax conversionsAndrew Bartlett1-1/+2
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-12s4:dsdb Add extensive tests for the behaviour of dsdb_dnAndrew Bartlett1-0/+1
2009-10-20s4-torture: ran minimal_includes.pl over source4/tortureAndrew Tridgell1-1/+0
This reduces compile time somewhat.
2009-10-01s4/asn1: Added torture suite for ASN1Kamen Mazdrashki1-0/+1
2009-09-27parmlist: Add basic tests for test_get_int().Jelmer Vernooij1-0/+1
2009-05-29s4-smbtorture: add a very basic NSS-WRAPPER testsuite.Günther Deschner1-0/+1
Guenther
2009-04-24Rename the top-level LDB test to LOCAL-LDB, so it gets picked up by theJelmer Vernooij1-0/+1
script that determines the tests to run.
2008-10-12Add one-test testsuite for datablob.Jelmer Vernooij1-0/+1
2008-10-11Add some simple tests for lib/util/time.cJelmer Vernooij1-0/+1
2008-09-24Move source4/lib/crypto to lib/crypto.Jelmer Vernooij1-1/+1
2008-06-04lib/crypto: remove unused sha1 and hmac-sha1 codeStefan Metzmacher1-4/+1
metze (This used to be commit 2c8904be3bac2c696712cc3160fe95d62afde43a)
2008-04-27Move subunit infrastructure code into lib/torture.Jelmer Vernooij1-1/+1
(This used to be commit 5b44d8121de7735d69e6238a1442aff034a8ebd3)
2007-12-21r26346: Add tests for loadparm.Jelmer Vernooij1-0/+1
(This used to be commit 064a2329e13f1d904142da1cac486c126a2fe57d)
2007-12-21r26004: Add some simple credentials tests.Jelmer Vernooij1-0/+1
(This used to be commit e96c722cbfe30a4f9c1f843b48e8cf5b78aa13e7)
2007-12-21r25935: Fix registry tests.Jelmer Vernooij1-0/+2
(This used to be commit b311094714b4d51ea7ea756df1aecba169dc0d45)
2007-12-21r25931: Add config .mk file for crypto lib.Jelmer Vernooij1-0/+1
(This used to be commit 21ab43158f723069dd70fae43d780878c38ead31)
2007-12-21r25928: Split up torture-local a bit.Jelmer Vernooij1-1/+0
(This used to be commit c6b109040856ba0f1ae0db2787cc838ff61df767)
2007-10-10r25306: Add tests for string_sub().Jelmer Vernooij1-0/+1
(This used to be commit 2d37ddcbd1243f48d81af17d8ea3cdd6e8e35b8d)
2007-10-10r23792: convert Samba4 to GPLv3Andrew Tridgell1-3/+2
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 fcf38a38ac691abd0fa51b89dc951a08e89fdafa)
2007-10-10r22883: Indentation.Andrew Bartlett1-12/+12
(This used to be commit 7548da913d56e3420c686a7d3a924c5f987a3eb1)
2007-10-10r22328: Add initial testsuite for share code.Jelmer Vernooij1-0/+1
(This used to be commit 3d079732a9cf15fcc3638db5f77bb45d7580d251)
2007-10-10r21694: Some more testing updates.Jelmer Vernooij1-0/+1
(This used to be commit 9247626b1c5f1eec0cedd6be221aafc41d9a26ab)
2007-10-10r21691: Add testsuite for lib/charsetJelmer Vernooij1-0/+1
(This used to be commit a4184893959bb25541704938ee621e5c575b817d)
2007-10-10r21688: Add simple tests for genrandJelmer Vernooij1-0/+1
(This used to be commit 90f23f0de86bb63ad65556ff2dab8b066236f300)
2007-10-10r21671: Add initial simple tests for socket wrapperJelmer Vernooij1-0/+1
(This used to be commit 872e2ad541478597191ca9e31872d5c8e2bbb832)
2007-10-10r21386: Run all NDR tests in the buildfarm, import some functions from ↵Jelmer Vernooij1-0/+2
Samba3's IDL. (This used to be commit 15a4b81ba0b5eeb25126a0b1a7bea7d3bf921ab2)
2007-10-10r20962: Fix lcovJelmer Vernooij1-0/+1
(This used to be commit 3d3d3031c80b56c824ab8a0f3616d564f092a110)
2007-10-10r19495: Stop linking binaries twice (once before installation, once during ↵Jelmer Vernooij1-0/+3
build). Make TORTURE-TALLOC and TORTURE-REPLACE builtin again rather than separate binaries. (This used to be commit 8913d60c72a67b041b08d569c9bd048953106c85)
2007-10-10r19373: Merge changes from subunit branch: Convert libreplace testsuite to aJelmer Vernooij1-1/+0
standalone program that speaks subunit. (This used to be commit 48d316e7594dfc29b8e6a710e32bb5a6a036b7cf)
2007-10-10r19343: Add support for external scripts/binaries that write results using theJelmer Vernooij1-5/+0
'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-10r19339: Merge my 4.0-unittest branch. This adds an API for more fine-grainedJelmer Vernooij1-9/+26
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-10r19294: a little speed tester for ldb/tdbAndrew Tridgell1-0/+1
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-10r19035: add LOCAL-REPLACE testStefan Metzmacher1-0/+1
metze (This used to be commit e95a1ab2cd568ef5492dfae130cb2e937ac15194)
2007-10-10r17539: add HMAC-MD5 test code based on the example values from rfc 2104, 2202Stefan Metzmacher1-0/+1
metze (This used to be commit 200b1a5c81bd61320ac6b7e79880411920e3f432)
2007-10-10r17494: add tests for the example values from rfc 1320 (MD4)Stefan Metzmacher1-0/+1
metze (This used to be commit 5609ab2116e3568e4f1a82b3ae781f17a6ffb645)
2007-10-10r17492: add a test with the example values from rfc1321 (MD5)Stefan Metzmacher1-0/+1
metze (This used to be commit bb1e4954f9aa60858a2c5b2f798f10fd75849b42)
2007-10-10r17491: I forgot to commit this...fix make test...sorry:-)Stefan Metzmacher1-0/+2
metze (This used to be commit 408e507f0f333c01c74747ffca2d8458b970cdbc)
2007-10-10r16518: Split up torture_util.c in smb and non-smb specific parts.Jelmer Vernooij1-0/+1
Add torture_temp_dir() function, with test. (This used to be commit c9d287dc0e3f8fc4e8399cd5095ef38f2b9f40c6)
2007-10-10r16333: Move more code out of the core smbtorture. It now no longerJelmer Vernooij1-0/+57
contains protocol-specific code. (This used to be commit 819d3b457648ffb7526a770e842badc17b6061fb)