summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZdenek Kabelac <zkabelac@redhat.com>2015-04-21 15:46:03 +0200
committerZdenek Kabelac <zkabelac@redhat.com>2015-04-22 09:09:26 +0200
commitafdff405423f1d40db17382db4cf4b0b1dbdbfae (patch)
tree071e3c9e7a86303ecb06af726c9769f62acaa787
parent30e8b284a7d24fa996d9eeb5b71510d49c9840fb (diff)
downloadlvm2-afdff405423f1d40db17382db4cf4b0b1dbdbfae.tar.gz
tests: explicitely ignore result code
-rw-r--r--test/lib/not.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/lib/not.c b/test/lib/not.c
index ce46699f8..5d285998a 100644
--- a/test/lib/not.c
+++ b/test/lib/not.c
@@ -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);
}
}