From: Tim Kientzle Date: Thu, 6 Aug 2009 04:55:16 +0000 (-0400) Subject: Remove failure message after testAssertTextFileContents(). X-Git-Tag: v2.8.0~444 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ae2de79a6b1acc3c6e93fda697722b19457626d4;p=thirdparty%2Flibarchive.git Remove failure message after testAssertTextFileContents(). SVN-Revision: 1344 --- 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); }