summaryrefslogtreecommitdiff
path: root/source4/torture/local
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r21694: Some more testing updates.Jelmer Vernooij2-0/+2
(This used to be commit 9247626b1c5f1eec0cedd6be221aafc41d9a26ab)
2007-10-10r21691: Add testsuite for lib/charsetJelmer Vernooij2-0/+2
(This used to be commit a4184893959bb25541704938ee621e5c575b817d)
2007-10-10r21688: Add simple tests for genrandJelmer Vernooij2-0/+2
(This used to be commit 90f23f0de86bb63ad65556ff2dab8b066236f300)
2007-10-10r21671: Add initial simple tests for socket wrapperJelmer Vernooij2-0/+2
(This used to be commit 872e2ad541478597191ca9e31872d5c8e2bbb832)
2007-10-10r21656: Move tests a bit closer to the things they test, should make syncing ↵Jelmer Vernooij8-774/+7
with samba3 easier. (This used to be commit 4d755fb5d7adedd1dd8bad917b921324411bfd59)
2007-10-10r21653: Add two more tdr tests.Jelmer Vernooij1-0/+32
(This used to be commit cc40e3acd95aecea481a65e936d311b815c6e9ae)
2007-10-10r21421: Fix a memleak. This made tdb look considerably worse than necessary.Volker Lendecke1-0/+2
Volker (This used to be commit 573ba38722e338fb4158dfda181308a1a736c5c0)
2007-10-10r21418: Return the ratio as wellSimo Sorce1-2/+8
(This used to be commit 56ed4499d69adf57a41632ba12cbfef383a35ab2)
2007-10-10r21386: Run all NDR tests in the buildfarm, import some functions from ↵Jelmer Vernooij3-213/+3
Samba3's IDL. (This used to be commit 15a4b81ba0b5eeb25126a0b1a7bea7d3bf921ab2)
2007-10-10r21213: the build farm seems to show that FreeBSD 6.2 has two different errorAndrew Tridgell1-1/+3
codes for "Invalid argument". This change should help track that down (This used to be commit 608aac7804754fed1c68b847676d7a71a586e4bb)
2007-10-10r21211: fixed 3 places that assumed that torture_fail() didn't callAndrew Tridgell3-8/+8
return. Having a lowercase macro that returns from a function is probably a bad idea - it looks too much like a C function but doesn't behave like one. (This used to be commit e680656419f00fd8b4ddb996fd247bada0f0a51d)
2007-10-10r20990: check for errors from event_loop_once()Andrew Tridgell1-2/+8
(This used to be commit 6af4557b1306e7e6a23c697cef3467d0f0458531)
2007-10-10r20962: Fix lcovJelmer Vernooij3-0/+64
(This used to be commit 3d3d3031c80b56c824ab8a0f3616d564f092a110)
2007-10-10r20955: Add testsJelmer Vernooij1-0/+131
(This used to be commit 965d0d9289eceed1b9b88ad3f87046ac47202237)
2007-10-10r20930: use sigaction() instead of signal()Andrew Tridgell1-55/+64
add support for sa_flags argument to event_add_signal(). These are passed to sigaction(). Special handling is provided for SA_RESETHAND (which tells the event system to remove the handler after the signal) and SA_SIGINFO which allows the siginfo structure to be received per signal (This used to be commit 1bb10b6cf7d717ad21834e73a4ca4b22b5fb6f0a)
2007-10-10r20823: Remove newlines in calls to torture_fail().Jelmer Vernooij2-6/+6
(This used to be commit 37c0cfe83bd9b9f799c880e3b5052a49631a113e)
2007-10-10r20652: Attempt to fix the buildVolker Lendecke2-0/+2
(This used to be commit 29d04fadf3db8cb1a6eb2d8ca33f0106cafaaab2)
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)