Skip to content

fix tests for libarchive 3.8.10 - #145

Open
jaipaulcheernam wants to merge 1 commit into
Changaco:masterfrom
jaipaulcheernam:fix-tests-libarchive-3.8.10
Open

jaipaulcheernam wants to merge 1 commit into
Changaco:masterfrom
jaipaulcheernam:fix-tests-libarchive-3.8.10

Conversation

@jaipaulcheernam

Copy link
Copy Markdown

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", so accept either message.

  • The ZIP reader now honours the NTFS (0x000A) extra field (commit 4f16dbc9edcb, "zip: Read the NTFS (0x000A) extra field"), 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.

@jaipaulcheernam
jaipaulcheernam force-pushed the fix-tests-libarchive-3.8.10 branch from ae46ef0 to 858b1a7 Compare October 19, 2026 19:29
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@4f16dbc
@jaipaulcheernam
jaipaulcheernam force-pushed the fix-tests-libarchive-3.8.10 branch from 858b1a7 to 10cf84f Compare October 19, 2026 19:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant