The check was right, I just got it wrong. Sending a big message is
supposed to fail. Sorry. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23543 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -41,8 +41,8 @@ main()
|
||||
|
||||
sender.StartMessage('tst3', 100000);
|
||||
sender.Attach(&port, 100000);
|
||||
if (sender.EndMessage() != B_OK) {
|
||||
fprintf(stderr, "attaching huge message (100000 bytes) failed!\n");
|
||||
if (sender.EndMessage() == B_OK) {
|
||||
fprintf(stderr, "attaching huge message succeded (it shouldn't)!\n");
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user