summaryrefslogtreecommitdiff
path: root/source4/torture/local/event.c
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r24502: More work to get LOCAL-EVENT passing on all platforms:Andrew Bartlett1-8/+1
- Make the epoll_event_context_init() call fail if epoll_create() fails. This should cause this backend to be skipped on host with epoll() in libc but not in the kernel. - At the moment, there is no sensible way to handle failures to add an epoll() event, and 'fallback to select' is misnamed (so we now abort()). Andrew Bartlett (This used to be commit fb1e1eebdae740a2b66ee1ea9e1e35f21292ac14)
2007-10-10r24390: Another attempt to find out why we fail the LOCAL-EVENT test on some ↵Andrew Bartlett1-1/+1
build farm hosts. Andrew Bartlett (This used to be commit 1abd8edb57d1a537115de020921ffe4f878d9f29)
2007-10-10r24300: Try to get the LOCAL-EVENT test to pass on hosts with epoll() inAndrew Bartlett1-1/+9
glibc, but not in the host kernel. Andrew Bartlett (This used to be commit bd70b0d1063c2ad471b1580361b818d64aadfe29)
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-10r22833: use EVENT_FD_AUTOCLOSE in our event test suiteAndrew Tridgell1-2/+1
(This used to be commit 9109d43595ce0a5e4b58df659f745da081ce5f4d)
2007-10-10r21211: fixed 3 places that assumed that torture_fail() didn't callAndrew Tridgell1-2/+1
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-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-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-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-10r19377: Simplify report functions.Jelmer Vernooij1-1/+2
(This used to be commit 0061f3c47e95f07461837c4051cf129b18961b56)
2007-10-10r19339: Merge my 4.0-unittest branch. This adds an API for more fine-grainedJelmer Vernooij1-12/+13
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-10r16328: Wrap all existing tests in simple single-function testsuites.Jelmer Vernooij1-5/+3
(This used to be commit 7e811adf59841936b7e634fca4e95630f890c5af)
2007-10-10r16304: Improve testing UI API. This now allows registering the fullJelmer Vernooij1-18/+18
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-10r16163: Convert to UI APIJelmer Vernooij1-17/+21
(This used to be commit 067c58f0d9743b52a05dd4c7cf78a64ea16133d9)
2007-10-10r15862: add a LOCAL-EVENT torture testStefan Metzmacher1-0/+126
- it currently tests the standard events code - with epoll enabled and disabled metze (This used to be commit ce5fd2293d5ce1f6a54048bc5662706943c98eb5)