summaryrefslogtreecommitdiff
path: root/source4/torture/local/event.c
AgeCommit message (Collapse)AuthorFilesLines
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)