]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Refactor one of the ISO extraction tests: Move the reference
authorTim Kientzle <kientzle@FreeBSD.org>
Sat, 21 Jun 2008 19:11:51 +0000 (19:11 +0000)
committerTim Kientzle <kientzle@FreeBSD.org>
Sat, 21 Jun 2008 19:11:51 +0000 (19:11 +0000)
commit80a6a0328a5994118cff4d7db6afd5b5c1906900
tree8f880b2b1e3abdb6354f86480797fb696f5f6d68
parent8a4ce0fb38afccfa4c213b6dff3dc17692cfae33
Refactor one of the ISO extraction tests:  Move the reference
file into a separate file (instead of embedding it in the C code)
and use later timestamps (timestamps too close to the Epoch fail
predictably on systems that lack timegm(), whose mktime() doesn't
support dates before the Epoch and which are running in timezones
with negative offsets from GMT).  The goal here is to test the ISO
extraction, not the local platform's time support.
lib/libarchive/test/test_read_format_isorr_bz2.c
lib/libarchive/test/test_read_format_isorr_bz2.iso.bz2.uu [new file with mode: 0644]