master - tests: explicitely ignore result code
Gitweb: http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=afdff405423f1d40db17382db4cf4b0b1dbdbfae Commit: afdff405423f1d40db17382db4cf4b0b1dbdbfae Parent: 30e8b284a7d24fa996d9eeb5b71510d49c9840fb Author: Zdenek Kabelac <[email protected]> AuthorDate: Tue Apr 21 15:46:03 2015 +0200 Committer: Zdenek Kabelac <[email protected]> CommitterDate: Wed Apr 22 09:09:26 2015 +0200
tests: explicitely ignore result code
--- test/lib/not.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
test/lib/not.c +2 -2
@@ -33,9 +33,9 @@ static int _finished(const char *cmd, int status, int pid) {if (WIFEXITED (ret) &&WEXITSTATUS (ret) ==0 ) {printf ("## timing off\n<======== Debug log ========>\n" );/* timing off */ fflush (stdout); -system ("sed -e 's,^,## DEBUG: ,' debug.log*${LVM_LOG_FILE_EPOCH}* 2>/dev/null" ); + (void )system ("sed -e 's,^,## DEBUG: ,' debug.log*${LVM_LOG_FILE_EPOCH}* 2>/dev/null" );printf ("## timing on\n" );/* timing on */ -system ("rm -f debug.log*${LVM_LOG_FILE_EPOCH}*" ); + (void )system ("rm -f debug.log*${LVM_LOG_FILE_EPOCH}*" );fflush (stdout); } }