summaryrefslogtreecommitdiff
path: root/source4/torture/local
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r20650: revert a bunch of code I didn't mean to commit yetAndrew Tridgell1-3/+1
(This used to be commit b3e2d4908781781a487eaeb683d22eb967e5597d)
2007-10-10r20647: add cluster codeAndrew Tridgell1-1/+3
(This used to be commit 5870830b99a8d76bda1ff5af3fcf8dda9aba50ec)
2007-10-10r20646: first preparations for cluster enablement. This changes "Andrew Tridgell2-18/+25
uint32_t server_id to struct server_id server_id; which allows a server ID to have an node number. The node number will be zero in non-clustered case. This is the most basic hook needed for clustering, and ctdb. (This used to be commit 2365abaa991d57d68c6ebe9be608e01c907102eb)
2007-10-10r20539: - split the common timer related events code into events_timed.cAndrew Tridgell1-18/+20
- make it easier to plug in a new events backend - add simpler 'select' and 'epoll' backends This is part of the effort to add good AIO support. The events_aio.c backend is done, but sometimes dies with a SEGV, which is why it isn't enabled yet. (This used to be commit 934f18283dbc7958944931a93a854526bcd54884)
2007-10-10r19831: Big ldb_dn optimization and interfaces enhancement patchSimo Sorce1-13/+7
This patch changes a lot of the code in ldb_dn.c, and also removes and add a number of manipulation functions around. The aim is to avoid validating a dn if not necessary as the validation code is necessarily slow. This is mainly to speed up internal operations where input is not user generated and so we can assume the DNs need no validation. The code is designed to keep the data as a string if possible. The code is not yet 100% perfect, but pass all the tests so far. A memleak is certainly present, I'll work on that next. Simo. (This used to be commit a580c871d3784602a9cce32d33419e63c8236e63)
2007-10-10r19676: Fix some more dependencies.Jelmer Vernooij1-1/+0
(This used to be commit 8768bec81f57131a0c9754e8121b345c0be4a5d0)
2007-10-10r19645: don't pass NULL as mem_ctx...Stefan Metzmacher1-9/+8
metze (This used to be commit 643a38bc30a0df1582035b8d264e0dbbc2d2e152)
2007-10-10r19550: the sense of this test was wrongAndrew Tridgell1-2/+2
(This used to be commit 4dcc26d0a67ec4a611e789b299a1db7ecf297e66)
2007-10-10r19536: Make output understandable (newlines)Simo Sorce1-19/+19
(This used to be commit 6960dd2075ed75c844c4a17e215991db2fb72c0d)
2007-10-10r19507: Merge my DSO fixes branch. Building Samba's libraries as shared ↵Jelmer Vernooij1-1/+3
libraries works again now, by specifying --enable-dso to configure. (This used to be commit 7a01235067a4800b07b8919a6a475954bfb0b04c)
2007-10-10r19495: Stop linking binaries twice (once before installation, once during ↵Jelmer Vernooij2-0/+6
build). Make TORTURE-TALLOC and TORTURE-REPLACE builtin again rather than separate binaries. (This used to be commit 8913d60c72a67b041b08d569c9bd048953106c85)
2007-10-10r19437: don't run the LOCAL-ICONV test on systems that don't have CP850Andrew Tridgell1-3/+19
support (This used to be commit bb8cdd7626ced37bb030c3474390275c433c88e0)
2007-10-10r19404: fixed the LOCAL-ICONV testAndrew Tridgell1-3/+8
(This used to be commit 0b3e83814bdf015064d7dd1f26cf9ec3ddadc7f4)
2007-10-10r19392: Use torture_setting_* rather than lp_parm_* where possible.Jelmer Vernooij2-5/+5
(This used to be commit b28860978fe29c5b10abfb8c59d7182864e21dd6)
2007-10-10r19377: Simplify report functions.Jelmer Vernooij2-7/+8
(This used to be commit 0061f3c47e95f07461837c4051cf129b18961b56)
2007-10-10r19373: Merge changes from subunit branch: Convert libreplace testsuite to aJelmer Vernooij2-3/+0
standalone program that speaks subunit. (This used to be commit 48d316e7594dfc29b8e6a710e32bb5a6a036b7cf)
2007-10-10r19350: Properly list LOCAL-TALLOC under the "LOCAL" header.Jelmer Vernooij1-1/+1
Support directories for subcategories in tests. Several small other fixes. (This used to be commit bde00d97068d559b025ab131ff698a82430d14b3)
2007-10-10r19343: Add support for external scripts/binaries that write results using theJelmer Vernooij2-6/+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 Vernooij17-476/+388
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 Tridgell3-0/+252
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 Metzmacher2-0/+3
metze (This used to be commit e95a1ab2cd568ef5492dfae130cb2e937ac15194)
2007-10-10r18516: I'm surprised that compilers allowed this at allAndrew Tridgell1-2/+2
(This used to be commit 46aa8a5e8914184575fa6b9ec9edced8dd615eab)
2007-10-10r18498: While passing stack values into torture_tcase_add_test is bad, valuesAndrew Bartlett1-3/+8
assigned into a static initialiser must be constant. Wishing sweet dreams on the jet-lagged tridge :-) Andrew Bartlett (This used to be commit 174014d956cb1d246bd07218ea289418195a73fb)
2007-10-10r18497: fixed crash bug in irpc test - the torture_tcase_add_test() callAndrew Tridgell1-2/+2
is passed a stack pointer from values[], which is not valid when the torture suite is run. Jelmer, need to be careful when converting test code not to use stack values from the torture_XXX() call in the test suite (This used to be commit 2744a0b385f58aaf0b45f33bec0d0a16c09709d7)
2007-10-10r18406: disable local iconv test as well when iconv:native=falseAndrew Tridgell1-3/+9
(This used to be commit 77e6a09e6b1a313db2bf289ac954fe4393b569fe)
2007-10-10r17742: make the casts explicit and remove compiler warningsStefan Metzmacher1-18/+18
metze (This used to be commit b2cc485058c86d5be162a5e4c13c0b30f25c9d3d)
2007-10-10r17586: merge lib/netif into lib/socket and use -lnsl -lsocket on theStefan Metzmacher1-1/+1
configure check for the interfaces. should fix the build on some old sun boxes metze (This used to be commit f20e251bfd9f1eb7ce5c00739631b1625a2aa467)
2007-10-10r17539: add HMAC-MD5 test code based on the example values from rfc 2104, 2202Stefan Metzmacher2-0/+2
metze (This used to be commit 200b1a5c81bd61320ac6b7e79880411920e3f432)
2007-10-10r17494: add tests for the example values from rfc 1320 (MD4)Stefan Metzmacher2-0/+2
metze (This used to be commit 5609ab2116e3568e4f1a82b3ae781f17a6ffb645)
2007-10-10r17492: add a test with the example values from rfc1321 (MD5)Stefan Metzmacher2-0/+2
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-10r17488: - add SHA1 and HMACSHA1 functions, based on rfc 2104,2202,3174Stefan Metzmacher1-0/+3
- and add torture tests also based on the rfc's metze (This used to be commit d48930a02f9560640697fd57e4bba03dc0abe284)
2007-10-10r16966: Fix compile warnings.Andrew Bartlett1-0/+2
Andrew Bartlett (This used to be commit 7b8240e8fddb49ccad61f9994e6e22e387c16a9e)
2007-10-10r16527: Add target argument for smbtorture.Jelmer Vernooij1-1/+3
Remove duplicate unc path separator conversion. Add prefix for tempdirs. (This used to be commit 3763ed3092fa89558390a9721be8437a7c380790)
2007-10-10r16526: Add torture_setup_server() with test.Jelmer Vernooij1-0/+31
(This used to be commit 6a1ed8ad756b97f61d4af9df2c7a7d889a2d09ef)
2007-10-10r16524: Fix double evaluation.Jelmer Vernooij1-2/+2
(This used to be commit 93f7adfb140d9e77120dd197d05a8fdd50e768bd)
2007-10-10r16518: Split up torture_util.c in smb and non-smb specific parts.Jelmer Vernooij3-1/+52
Add torture_temp_dir() function, with test. (This used to be commit c9d287dc0e3f8fc4e8399cd5095ef38f2b9f40c6)
2007-10-10r16489: Because the torture/ui.h file isn't automaticly generated, theAndrew Bartlett1-14/+14
prototypes in it need to use the PRINTF_ATTRIBUTE() macro, rather than _PRINTF_ATTRIBUTE() (which becomes PRINTF_ATTRIBUTE() only in proto files, but not C files). This found a number of missing descriptions in the LOCAL-SOCKET test. Andrew Bartlett (This used to be commit 1009d55c8caa173e9998b38235c06b4ae4b30d80)
2007-10-10r16333: Move more code out of the core smbtorture. It now no longerJelmer Vernooij3-3/+63
contains protocol-specific code. (This used to be commit 819d3b457648ffb7526a770e842badc17b6061fb)
2007-10-10r16332: Fix two small bugs found by the buildfarm.Jelmer Vernooij1-1/+1
(This used to be commit 3decb34bb607b83f72deaa4baca935f4f253e2f2)
2007-10-10r16329: Convert to new UI API.Jelmer Vernooij1-53/+83
(This used to be commit c7d1d86853eb659ee4a5cbfb4ff65b31f6fe0375)
2007-10-10r16328: Wrap all existing tests in simple single-function testsuites.Jelmer Vernooij12-50/+36
(This used to be commit 7e811adf59841936b7e634fca4e95630f890c5af)
2007-10-10r16316: Convert to new torture UI API.Jelmer Vernooij2-63/+58
(This used to be commit ff87504c41e76a14b95a2063a4eb62d96fb02127)
2007-10-10r16315: Convert to new API.Jelmer Vernooij2-102/+86
(This used to be commit 0e52a831ed88b5d61033aee56a17e49b84df6773)
2007-10-10r16304: Improve testing UI API. This now allows registering the fullJelmer Vernooij8-148/+167
test suite tree, looks a bit more like other unit testing API's, fixes some memory responsibility issues, introduces testcases, and removes the need for tests to call torture_ok(). (This used to be commit 0445b1a56a02552f895f400960b9ced39244a144)
2007-10-10r16184: Convert to UI API. The async test was previously broken (failsJelmer Vernooij1-20/+28
with NT_STATUS_NO_MEMORY) and still does. (This used to be commit 5c2e136ef97fb98ae5314d1b2c73bb7b2fe4d8ee)
2007-10-10r16171: Convert to UI APIJelmer Vernooij1-39/+29
(This used to be commit 075dfb4c52132ea34dec643b12dcd01f05f3240f)
2007-10-10r16170: Convert to UI APIJelmer Vernooij1-29/+22
(This used to be commit 7dad6f9c0aade8585f874d0362290d06696a5087)
2007-10-10r16169: Convert to UI APIJelmer Vernooij1-58/+49
(This used to be commit 6306a3cc17aff23f54e3f4e7a36d6ab9f6739739)
2007-10-10r16164: Convert to UI APIJelmer Vernooij1-19/+14
(This used to be commit 5cd95ec885cb0ffd5b40f53a5a0193388ec5fc6a)