From ae2de79a6b1acc3c6e93fda697722b19457626d4 Mon Sep 17 00:00:00 2001 From: Tim Kientzle Date: Thu, 6 Aug 2009 00:55:16 -0400 Subject: [PATCH] Remove failure message after testAssertTextFileContents(). SVN-Revision: 1344 --- cpio/test/main.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cpio/test/main.c b/cpio/test/main.c index 1f6877a28..7c480f1ac 100644 --- a/cpio/test/main.c +++ b/cpio/test/main.c @@ -810,6 +810,7 @@ test_assert_text_file_contents(const char *buff, const char *fn) } if (*btxt == '\0' && *ftxt == '\0') { free(contents); + msg[0] = '\0'; return (1); } ++failures; @@ -826,6 +827,7 @@ test_assert_text_file_contents(const char *buff, const char *fn) report_failure(test_extra); } free(contents); + msg[0] = '\0'; return (0); } -- 2.47.3