From 62af96ca004d26f1c3adf922f6fcde779ae1f528 Mon Sep 17 00:00:00 2001 From: Tim Kientzle Date: Wed, 13 Jan 2010 22:40:45 -0500 Subject: [PATCH] Actually assert something here. SVN-Revision: 1813 --- libarchive/test/test_write_format_cpio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libarchive/test/test_write_format_cpio.c b/libarchive/test/test_write_format_cpio.c index f56a28b10..b6e791bd1 100644 --- a/libarchive/test/test_write_format_cpio.c +++ b/libarchive/test/test_write_format_cpio.c @@ -124,7 +124,7 @@ test_format(int (*set_format)(struct archive *)) } } failure("Unable to locate the second header for damage-recovery test."); - assert(damaged = 1); + assert(damaged == 1); /* * Now, read the data back. -- 2.47.3