Fixed PortLinkTest build, and also corrected a check.

Looks like attaching 100000 bytes fails. Any idea ?


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23542 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Stefano Ceccherini 2008-01-15 21:06:54 +00:00
parent a820102c34
commit 7c1ca8d91b
2 changed files with 3 additions and 2 deletions

View File

@ -2,6 +2,7 @@ SubDir HAIKU_TOP src tests kits app messaging ;
UsePrivateHeaders app ;
UsePrivateHeaders interface ;
SubDirHdrs [ FDirName $(HAIKU_TOP) src kits app ] ;
SimpleTest PortLinkTest :
PortLinkTest.cpp

View File

@ -41,8 +41,8 @@ main()
sender.StartMessage('tst3', 100000);
sender.Attach(&port, 100000);
if (sender.EndMessage() == B_OK) {
fprintf(stderr, "attaching huge message succeeded!\n");
if (sender.EndMessage() != B_OK) {
fprintf(stderr, "attaching huge message (100000 bytes) failed!\n");
return -1;
}