From 60e1691f0773c66594fc91b027ff832289fcc573 Mon Sep 17 00:00:00 2001 From: Sumit Bose Date: Mon, 24 Jan 2011 11:32:30 +0100 Subject: [PATCH 2/5] Do not ignore the return value of system() --- ini/ini_valueobj_ut.c | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/ini/ini_valueobj_ut.c b/ini/ini_valueobj_ut.c index 767a64c..fd7c6b8 100644 --- a/ini/ini_valueobj_ut.c +++ b/ini/ini_valueobj_ut.c @@ -609,7 +609,10 @@ int vo_copy_test(void) int vo_show_test(void) { - VOOUT(system("cat test.ini")); + if (verbose) { + return system("cat test.ini"); + } + return EOK; } -- 1.7.3.3