haiku/src/tests
Marcus Overhagen da9b743b20 modified tests. The results on BeOS R5 do not match the BeBook description.
$ /boot/home/develop/haiku/generated/objects/haiku/x86/debug_1/tests/system/kernel/port_close_test_1
created port 2269
write port result 0x00000000 (No Error)
write port result 0x00000000 (No Error)
close port result 0x00000000 (No Error)
write port result 0x80001200 (Bad port ID)
port_buffer_size -2147479552 (0x80001000) (Bad semaphore ID)
read port code 1234, size 10 (0x0000000a) (Unknown Error (10))
port_buffer_size -2147479552 (0x80001000) (Bad semaphore ID)
read port code 5678, size 20 (0x00000014) (Unknown Error (20))
should block now
port_buffer_size -2147479552 (0x80001000) (Bad semaphore ID)
$ /boot/home/develop/haiku/generated/objects/haiku/x86/debug_1/tests/system/kernel/port_close_test_2
created port 2270
write port result 0x00000000 (No Error)
write port result 0x00000000 (No Error)
close port result 0x00000000 (No Error)
write port result 0x80001200 (Bad port ID)
port_buffer_size -2147479552 (0x80001000) (Bad semaphore ID)
read port code 1234, size 10 (0x0000000a) (Unknown Error (10))
port_buffer_size -2147479552 (0x80001000) (Bad semaphore ID)
read port code 5678, size 20 (0x00000014) (Unknown Error (20))
should block now
read port code 5678, size -2147479040 (0x80001200) (Bad port ID)
$ /boot/home/develop/haiku/generated/objects/haiku/x86/debug_1/tests/system/kernel/port_delete_test
created port 2271
write port result 0x00000000 (No Error)
write port result 0x00000000 (No Error)
delete port result 0x00000000 (No Error)
everything should fail now
write port result 0x80001200 (Bad port ID)
port_buffer_size -2147479040 (0x80001200) (Bad port ID)
read port code 0, size -2147479040 (0x80001200) (Bad port ID)
$  


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16645 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-08 14:22:56 +00:00
..
add-ons moved iso9660 R5 version to tests 2006-02-27 23:31:21 +00:00
apps fix the build on Dano 2006-02-10 20:25:57 +00:00
bin Fixed unit tests build for platforms libbe_test and r5. Only randomly tested 2005-11-09 16:17:31 +00:00
kits * fixed broken FindLast() taking a char and an offset 2006-03-05 18:27:50 +00:00
misc Added small app testing throwing/catching of exceptions beyond shared 2005-11-16 21:34:32 +00:00
servers Some groundwork for overlay support. If someone wants to finish this, feel 2006-03-01 21:20:57 +00:00
system modified tests. The results on BeOS R5 do not match the BeBook description. 2006-03-08 14:22:56 +00:00
ExampleTest.cpp Fixed unit tests build for platforms libbe_test and r5. Only randomly tested 2005-11-09 16:17:31 +00:00
ExampleTest.h
ExampleTestAddon.cpp Fixed unit tests build for platforms libbe_test and r5. Only randomly tested 2005-11-09 16:17:31 +00:00
Jamfile Renamed the tests/kernel/core directory like the main directory tests/system/kernel 2005-12-21 00:30:29 +00:00
UnitTester.cpp Renamed UnitTesterHelper.* to UnitTester.*. 2005-11-09 16:23:11 +00:00
UnitTester.h Renamed UnitTesterHelper.* to UnitTester.*. 2005-11-09 16:23:11 +00:00
UnitTester.rsrc Renamed UnitTesterHelper.* to UnitTester.*. 2005-11-09 16:23:11 +00:00