haiku/src/tests
Axel Dörfler a728651f04 Some more work on the signal code:
* get_signal_stack() checked the wrong sig_action field (index is signal-1), also,
  it had an off-by-one error in the stack range check.
* factored out a restart_syscall() function to avoid code duplication
* arch_setup_signal_frame() relied on the fact that vregs and the signal stack code
  is a multiple of 4 bytes in size.
* Fixed sigaction(): it did return the error code directly instead of setting errno.
* signal() actually had a work-around for the broken sigaction()...
* Replaced the sig_func_t typedef with a sighandler_t typedef - this is non-standard
  anyway, but now we're at least compatible with the GNU world instead of introducing
  our own solution (BSD seems to use sig_t here, BTW).
* Removed now unused sigval structure from the header; it should be added again as
  soon as we start supporting it.
* SA_RESETHAND and SA_ONESHOT are the same thing; the former did not work before.
* Made the non-standard SA_* flags refer to the standard ones instead of the other
  way around.
* Added a test application for various signal features - works fine under Haiku,
  tested also under Linux and BeOS (the latter fails as it does not support SA_RESTART).
  More tests should be added, though.
* Cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21999 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-08-17 11:01:09 +00:00
..
add-ons * Prefixed the variables NETWORK_LIBS, NETAPI_LIB, and 2007-08-12 22:15:10 +00:00
apps Return a valid partition index also when there's only the disk device. 2007-08-02 12:33:00 +00:00
bin
kits Added more tests. 2007-08-17 07:14:15 +00:00
misc writev test application. I expected this to crash haiku, but it hasn't 2007-08-05 13:24:52 +00:00
servers * complete overhaul of the font/glyph caching 2007-08-02 19:10:38 +00:00
system Some more work on the signal code: 2007-08-17 11:01:09 +00:00
ExampleTest.cpp
ExampleTest.h
ExampleTestAddon.cpp
Jamfile
UnitTester.cpp
UnitTester.h
UnitTester.rsrc