Repository navigation
Commit f38073c
authored
fix tests for libarchive 3.8.10 (#145)
Two entry tests broke with libarchive 3.8.10:
- testtar.tar is now rejected with "Unsupported pax global extended
header attribute 'gname'" rather than "Damaged tar archive" [1], so
accept either message.
- The ZIP reader now honours the NTFS (0x000A) extra field [2],
reporting unicode2.zip's mtime in UTC with sub-second precision instead
of the local-time MS-DOS field stored in the fixture, so ignore mtime
in that comparison.
[1] libarchive/libarchive@1769a39
[2] libarchive/libarchive@4f16dbc1 parent 7e8cb85 commit f38073c
1 file changed
Lines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
68 | | - | |
| 68 | + | |
| 69 | + | |
69 | 70 | | |
70 | 71 | | |
71 | 72 | | |
| |||
77 | 78 | | |
78 | 79 | | |
79 | 80 | | |
80 | | - | |
| 81 | + | |
81 | 82 | | |
82 | 83 | | |
83 | 84 | | |
| |||
0 commit comments