mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-05-25 06:42:27 +00:00
Do more quality assurance work
This commit is contained in:
parent
67b19ae733
commit
d461c6f47d
31 changed files with 194 additions and 108 deletions
|
@ -131,6 +131,8 @@ TEST(setrlimit, testMemoryLimit) {
|
|||
int i, wstatus;
|
||||
if (IsXnu())
|
||||
return;
|
||||
if (IsOpenbsd())
|
||||
return; // simply too slow until mmap() becomes O(logn)
|
||||
ASSERT_NE(-1, (wstatus = xspawn(0)));
|
||||
if (wstatus == -2) {
|
||||
ASSERT_EQ(0, SetKernelEnforcedMemoryLimit(MEM));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue