path: root/tests/testutils.c
diff options
authorAndrew Hastings <abh@cray.com>2008-03-07 15:30:55 -0600
committerNishanth Aravamudan <nacc@us.ibm.com>2008-03-07 16:31:39 -0800
commit8617d037df11df11c23312d6a36a8be41b07e587 (patch)
tree09e86e32f48b4d65b4f95591bcb4389fdb1d599f /tests/testutils.c
parent44e8e9a0447782d30db1d5a4c51749fa5baa5ea6 (diff)
test_addr_huge(): change ERROR to verbose_printf
The heapshrink test case calls test_addr_huge() to verify that the heap shrank. test_addr_huge() emits an error message: ERR: Couldn't find address 0x260000f in /proc/self/maps Change the ERROR() to a verbose_printf() so that a successful test run will not contain an error message. Signed-off-by: Andrew Hastings <abh@cray.com> Signed-off-by: Nishanth Aravamudan <nacc@us.ibm.com>
Diffstat (limited to 'tests/testutils.c')
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/testutils.c b/tests/testutils.c
index e9fe991..bd17704 100644
--- a/tests/testutils.c
+++ b/tests/testutils.c
@@ -146,7 +146,8 @@ int test_addr_huge(void *p)
if (ret < 0)
return ret;
if (ret == 0) {
- ERROR("Couldn't find address %p in /proc/self/maps\n", p);
+ verbose_printf("Couldn't find address %p in /proc/self/maps\n",
+ p);
return -1;