test: don't assert that total_mem > free_mem
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.
This commit is contained in:
parent
04daabd58f
commit
7b01ad1685
@ -28,7 +28,6 @@ TEST_IMPL(get_memory) {
|
||||
|
||||
ASSERT(free_mem > 0);
|
||||
ASSERT(total_mem > 0);
|
||||
ASSERT(total_mem > free_mem);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user