diff options
author | kientzle <kientzle@FreeBSD.org> | 2009-12-30 05:59:21 +0000 |
---|---|---|
committer | kientzle <kientzle@FreeBSD.org> | 2009-12-30 05:59:21 +0000 |
commit | fa94194ff849f6933fedb15396e96731eb2c4157 (patch) | |
tree | a878f899f5526c6be691b6194342f1ddd9a9fdd9 /lib/libarchive/test/test_write_format_cpio_empty.c | |
parent | c6d0b4dd8b2ab36f3e73a6ad81509d14d32bafae (diff) | |
download | FreeBSD-src-fa94194ff849f6933fedb15396e96731eb2c4157.zip FreeBSD-src-fa94194ff849f6933fedb15396e96731eb2c4157.tar.gz |
A raft of test changes and improvements from the Googlecode repository.
In particular, this includes tests for the new features I've merged
over the last few days.
Diffstat (limited to 'lib/libarchive/test/test_write_format_cpio_empty.c')
-rw-r--r-- | lib/libarchive/test/test_write_format_cpio_empty.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libarchive/test/test_write_format_cpio_empty.c b/lib/libarchive/test/test_write_format_cpio_empty.c index 81f17a4..fed26ec0 100644 --- a/lib/libarchive/test/test_write_format_cpio_empty.c +++ b/lib/libarchive/test/test_write_format_cpio_empty.c @@ -71,5 +71,5 @@ DEFINE_TEST(test_write_format_cpio_empty) failure("Empty cpio archive should be exactly 87 bytes, was %d.", used); assert(used == 87); failure("Empty cpio archive is incorrectly formatted."); - assert(memcmp(buff, ref, 87) == 0); + assertEqualMem(buff, ref, 87); } |