Skip to content
This repository has been archived by the owner on May 4, 2018. It is now read-only.

Commit

Permalink
test: don't assert that total_mem > free_mem
Browse files Browse the repository at this point in the history
Assertion fails when running in a resource container, like a Solaris zone.
The total reported is the container's hard limit, the free memory that of
the whole system.
  • Loading branch information
bnoordhuis committed Oct 11, 2011
1 parent 04daabd commit 7b01ad1
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion test/test-get-memory.c
Expand Up @@ -28,7 +28,6 @@ TEST_IMPL(get_memory) {

ASSERT(free_mem > 0);
ASSERT(total_mem > 0);
ASSERT(total_mem > free_mem);

return 0;
}

0 comments on commit 7b01ad1

Please sign in to comment.