summaryrefslogtreecommitdiffstats
path: root/source4/torture/local/local.c
Commit message (Collapse)AuthorAgeFilesLines
* s4-torture: cleanup nsswrapper test a little by removing nwrap references.Günther Deschner2015-03-021-1/+1
| | | | | | | Guenther Signed-off-by: Guenther Deschner <gd@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
* s4-torture: re-add nss-wrapper torture testsuite.Günther Deschner2015-03-021-0/+1
| | | | | | | | | | | | | | (The testsuite got removed with 5bb410f85312196bb24e62a6a0b8350576433dc6). Although nss_wrapper now also has an upstream testsuite, it is still important to run the older torture testsuite within Samba so we have some testing on nss_winbind correctnes and consistency. Guenther Signed-off-by: Günther Deschner <gd@samba.org> Reviewed-by: Michael Adam <obnox@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
* lib/crypto: add aes_gcm_128 support.Stefan Metzmacher2014-10-161-0/+2
| | | | | | | | Pair-Programmed-With: Michael Adam <obnox@samba.org> Signed-off-by: Stefan Metzmacher <metze@samba.org> Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
* s4-torture: Remove socket_wrapper testsuite.Andreas Schneider2014-04-171-3/+0
| | | | | Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
* s4-torture: Remove nss_wrapper testsuite.Andreas Schneider2014-04-171-3/+0
| | | | | Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
* torture: add local verification trailer parsing testDavid Disseldorp2014-04-091-0/+1
| | | | | | | | Signed-off-by: David Disseldorp <ddiss@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org> Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Wed Apr 9 03:44:15 CEST 2014 on sn-devel-104
* lib/replace: Try to fix build on HP-UX for os2_delete testAndrew Bartlett2012-09-231-1/+1
| | | | | | | | | | | | The issue is that this file is both used in an autoconf test, and later in a smbtorture test. Because os2_delete.c does not include replace.h, bool may not be defined. So, instead we shift the need for bool to a different header. (The readdir tests in repdir.m4 are not yet in the waf configure). Andrew Bartlett
* lib/crypto: add aes_cmac_128_test.c as local.crypto.aes_cmac_128 testStefan Metzmacher2012-02-291-0/+2
| | | | metze
* s4-test: added a test for E_deshash()Andrew Tridgell2011-04-131-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
* lib/util/charset Add many more charset testsAndrew Bartlett2011-04-131-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>
* lib/util/charset Rename convert_string test to allow a 'non_handle' testAndrew Bartlett2011-04-131-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>
* lib/util/charset Add tests for strcasecmp_m(), talloc_strupper() et alAndrew Bartlett2011-03-311-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
* lib/util/charset Add tests for convert_string_talloc_handle()Andrew Bartlett2011-03-301-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
* lib/util: add tests for anonymous_shared_allocate/free()Stefan Metzmacher2011-01-201-0/+1
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Thu Jan 20 06:25:03 CET 2011 on sn-devel-104
* s4-smbtorture: Make test names lowercase and dot-separated.Jelmer Vernooij2010-12-111-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
* torture: Only add in tests for socket_wrapper/nss_wrapper when they have ↵Jelmer Vernooij2010-11-121-0/+4
| | | | been enabled.
* replace: create a private replace-test libraryAndrew Tridgell2010-10-301-0/+1
| | | | used by replace_testuite and smbtorture
* test:local added LOCAL-DLINKLIST testsuiteAndrew Tridgell2010-02-101-0/+1
| | | | (cherry picked from commit 95a5bee2c30a67a35604b0456ab7836f6dc67702)
* s4:dsdb Add expected value tests for most DRS syntax conversionsAndrew Bartlett2009-11-121-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
* s4:dsdb Add extensive tests for the behaviour of dsdb_dnAndrew Bartlett2009-11-121-0/+1
|
* s4-torture: ran minimal_includes.pl over source4/tortureAndrew Tridgell2009-10-201-1/+0
| | | | This reduces compile time somewhat.
* s4/asn1: Added torture suite for ASN1Kamen Mazdrashki2009-10-011-0/+1
|
* parmlist: Add basic tests for test_get_int().Jelmer Vernooij2009-09-271-0/+1
|
* s4-smbtorture: add a very basic NSS-WRAPPER testsuite.Günther Deschner2009-05-291-0/+1
| | | | Guenther
* Rename the top-level LDB test to LOCAL-LDB, so it gets picked up by theJelmer Vernooij2009-04-241-0/+1
| | | | script that determines the tests to run.
* Add one-test testsuite for datablob.Jelmer Vernooij2008-10-121-0/+1
|
* Add some simple tests for lib/util/time.cJelmer Vernooij2008-10-111-0/+1
|
* Move source4/lib/crypto to lib/crypto.Jelmer Vernooij2008-09-241-1/+1
|
* lib/crypto: remove unused sha1 and hmac-sha1 codeStefan Metzmacher2008-06-041-4/+1
| | | | | metze (This used to be commit 2c8904be3bac2c696712cc3160fe95d62afde43a)
* Move subunit infrastructure code into lib/torture.Jelmer Vernooij2008-04-271-1/+1
| | | | (This used to be commit 5b44d8121de7735d69e6238a1442aff034a8ebd3)
* r26346: Add tests for loadparm.Jelmer Vernooij2007-12-211-0/+1
| | | | (This used to be commit 064a2329e13f1d904142da1cac486c126a2fe57d)
* r26004: Add some simple credentials tests.Jelmer Vernooij2007-12-211-0/+1
| | | | (This used to be commit e96c722cbfe30a4f9c1f843b48e8cf5b78aa13e7)
* r25935: Fix registry tests.Jelmer Vernooij2007-12-211-0/+2
| | | | (This used to be commit b311094714b4d51ea7ea756df1aecba169dc0d45)
* r25931: Add config .mk file for crypto lib.Jelmer Vernooij2007-12-211-0/+1
| | | | (This used to be commit 21ab43158f723069dd70fae43d780878c38ead31)
* r25928: Split up torture-local a bit.Jelmer Vernooij2007-12-211-1/+0
| | | | (This used to be commit c6b109040856ba0f1ae0db2787cc838ff61df767)
* r25306: Add tests for string_sub().Jelmer Vernooij2007-10-101-0/+1
| | | | (This used to be commit 2d37ddcbd1243f48d81af17d8ea3cdd6e8e35b8d)
* r23792: convert Samba4 to GPLv3Andrew Tridgell2007-10-101-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)
* r22883: Indentation.Andrew Bartlett2007-10-101-12/+12
| | | | (This used to be commit 7548da913d56e3420c686a7d3a924c5f987a3eb1)
* r22328: Add initial testsuite for share code.Jelmer Vernooij2007-10-101-0/+1
| | | | (This used to be commit 3d079732a9cf15fcc3638db5f77bb45d7580d251)
* r21694: Some more testing updates.Jelmer Vernooij2007-10-101-0/+1
| | | | (This used to be commit 9247626b1c5f1eec0cedd6be221aafc41d9a26ab)
* r21691: Add testsuite for lib/charsetJelmer Vernooij2007-10-101-0/+1
| | | | (This used to be commit a4184893959bb25541704938ee621e5c575b817d)
* r21688: Add simple tests for genrandJelmer Vernooij2007-10-101-0/+1
| | | | (This used to be commit 90f23f0de86bb63ad65556ff2dab8b066236f300)
* r21671: Add initial simple tests for socket wrapperJelmer Vernooij2007-10-101-0/+1
| | | | (This used to be commit 872e2ad541478597191ca9e31872d5c8e2bbb832)
* r21386: Run all NDR tests in the buildfarm, import some functions from ↵Jelmer Vernooij2007-10-101-0/+2
| | | | | | Samba3's IDL. (This used to be commit 15a4b81ba0b5eeb25126a0b1a7bea7d3bf921ab2)
* r20962: Fix lcovJelmer Vernooij2007-10-101-0/+1
| | | | (This used to be commit 3d3d3031c80b56c824ab8a0f3616d564f092a110)
* r19495: Stop linking binaries twice (once before installation, once during ↵Jelmer Vernooij2007-10-101-0/+3
| | | | | | | | build). Make TORTURE-TALLOC and TORTURE-REPLACE builtin again rather than separate binaries. (This used to be commit 8913d60c72a67b041b08d569c9bd048953106c85)
* r19373: Merge changes from subunit branch: Convert libreplace testsuite to aJelmer Vernooij2007-10-101-1/+0
| | | | | standalone program that speaks subunit. (This used to be commit 48d316e7594dfc29b8e6a710e32bb5a6a036b7cf)
* r19343: Add support for external scripts/binaries that write results using theJelmer Vernooij2007-10-101-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)
* r19339: Merge my 4.0-unittest branch. This adds an API for more fine-grainedJelmer Vernooij2007-10-101-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)
* r19294: a little speed tester for ldb/tdbAndrew Tridgell2007-10-101-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)