зеркало из https://github.com/mozilla/pjs.git
Fixed buffer tests.
This commit is contained in:
Родитель
c86ce45fcd
Коммит
e8a2d73d89
|
@ -169,7 +169,7 @@ main(int argc, char* argv[])
|
|||
}
|
||||
#endif
|
||||
// test for small buffers
|
||||
rv = NS_NewPipe(&in, &out, 12, 24, PR_FALSE, nsnull);
|
||||
rv = NS_NewPipe(&in, &out, 12, 24, PR_TRUE, nsnull);
|
||||
if (NS_FAILED(rv)) {
|
||||
printf("NewPipe failed\n");
|
||||
return -1;
|
||||
|
@ -184,7 +184,7 @@ main(int argc, char* argv[])
|
|||
}
|
||||
|
||||
// test for large buffers
|
||||
rv = NS_NewPipe(&in, &out, 4096, 4096*16, PR_FALSE, nsnull);
|
||||
rv = NS_NewPipe(&in, &out, 4096, 4096*16, PR_TRUE, nsnull);
|
||||
if (NS_FAILED(rv)) {
|
||||
printf("NewPipe failed\n");
|
||||
return -1;
|
||||
|
|
Загрузка…
Ссылка в новой задаче