From 7b01ad16850a28ea6faa10686bc31b6c4f039a6c Mon Sep 17 00:00:00 2001 From: Ben Noordhuis Date: Tue, 11 Oct 2011 23:42:51 +0000 Subject: [PATCH] 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. --- test/test-get-memory.c | 1 - 1 file changed, 1 deletion(-) diff --git a/test/test-get-memory.c b/test/test-get-memory.c index 64b9e0dd..3ea2b992 100644 --- a/test/test-get-memory.c +++ b/test/test-get-memory.c @@ -28,7 +28,6 @@ TEST_IMPL(get_memory) { ASSERT(free_mem > 0); ASSERT(total_mem > 0); - ASSERT(total_mem > free_mem); return 0; }