diff options
author | Brian Harring <ferringb@gentoo.org> | 2010-12-31 09:18:02 +0000 |
---|---|---|
committer | Brian Harring <ferringb@gentoo.org> | 2010-12-31 09:18:02 +0000 |
commit | bdccac4be6ca6f924efac70743697cbaad4e8c39 (patch) | |
tree | 91b5c7980e1a5c48460df01c487fe429f936ee02 /app-arch/libarchive/files | |
parent | Version bump. (diff) | |
download | gentoo-2-bdccac4be6ca6f924efac70743697cbaad4e8c39.tar.gz gentoo-2-bdccac4be6ca6f924efac70743697cbaad4e8c39.tar.bz2 gentoo-2-bdccac4be6ca6f924efac70743697cbaad4e8c39.zip |
fix false positives against xz-5 (bug 343829), remove 2.8.0 since the tests can fail for the fuzzer (fixed in later versions)
(Portage version: 2.2.0_alpha3/cvs/Linux x86_64)
Diffstat (limited to 'app-arch/libarchive/files')
-rw-r--r-- | app-arch/libarchive/files/libarchive-disable-lzma-size-test.patch | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/app-arch/libarchive/files/libarchive-disable-lzma-size-test.patch b/app-arch/libarchive/files/libarchive-disable-lzma-size-test.patch new file mode 100644 index 000000000000..4929685a2eb7 --- /dev/null +++ b/app-arch/libarchive/files/libarchive-disable-lzma-size-test.patch @@ -0,0 +1,47 @@ +Index: libarchive/test/test_write_compress_lzma.c +=================================================================== +--- libarchive/test/test_write_compress_lzma.c (revision 2811) ++++ libarchive/test/test_write_compress_lzma.c (revision 2812) +@@ -185,10 +185,15 @@ + archive_write_close(a); + assert(0 == archive_write_finish(a)); + +- /* Level 0 really does result in larger data. */ ++ /* It would be nice to assert that compression-level=0 produced ++ * consistently larger/smaller results than the default compression, ++ * but the results here vary a lot depending on the version of liblzma ++ * being used. */ ++ /* + failure("Compression-level=0 wrote %d bytes; default wrote %d bytes", + (int)used2, (int)used1); + assert(used2 > used1); ++ */ + + assert((a = archive_read_new()) != NULL); + assertA(0 == archive_read_support_format_all(a)); +Index: libarchive/test/test_write_compress_xz.c +=================================================================== +--- libarchive/test/test_write_compress_xz.c (revision 2811) ++++ libarchive/test/test_write_compress_xz.c (revision 2812) +@@ -193,10 +193,14 @@ + archive_write_close(a); + assert(0 == archive_write_finish(a)); + +- /* Level 0 really does result in larger data. */ ++ /* I would like to assert that compression-level=0 results in ++ * larger data than the default compression, but that's not true ++ * for all versions of liblzma. */ ++ /* + failure("Compression-level=0 wrote %d bytes; default wrote %d bytes", + (int)used2, (int)used1); + assert(used2 > used1); ++ */ + + assert((a = archive_read_new()) != NULL); + assertA(0 == archive_read_support_format_all(a)); + +Egenskapsändringar för: . +___________________________________________________________________ +Modified: svn:mergeinfo + Merged /trunk:r2811 + |