diff options
Diffstat (limited to 'lib/tar/test/data')
31 files changed, 35 insertions, 0 deletions
diff --git a/lib/tar/test/data/CREDITS b/lib/tar/test/data/CREDITS new file mode 100644 index 0000000..7a2738f --- /dev/null +++ b/lib/tar/test/data/CREDITS @@ -0,0 +1,35 @@ +The tar archives in this directory have been obtained from here: + + https://github.com/mgorny/tar-test-inputs + + git commit hash a2110a6 + +This repository was linked in the following article on interoperability of +various different tar programs: + + https://dev.gentoo.org/~mgorny/articles/portability-of-tar-features.html + +The original intention of the example archives was to test various tar programs +for interoperability with each others extensions and format quirks. + +The following have been removed since there is no intention in adding support +for those features: + + - volume-label tests + - multi-volume tests + - longe user + group names + - sun tar samples + - star samples + - file flags tests + +In addition to that, the files in "file-size" are truncated, since we are only +interested in parsing the header. + +The following addtional files have been added: + - xattr/xattr-shily-binary.tar + Created from xattr/xattr-shily.tar by manually patching in a capability + xattr key/value pair. + - tar/format-acceptance/link_filled.tar + Contributed in GitHub issue #64. A tar ball that contains a hard link + where the 100 byte target field is completely filled without containing + a null-terminator. diff --git a/lib/tar/test/data/file-size/12-digit.tar b/lib/tar/test/data/file-size/12-digit.tar Binary files differnew file mode 100644 index 0000000..a6b3553 --- /dev/null +++ b/lib/tar/test/data/file-size/12-digit.tar diff --git a/lib/tar/test/data/file-size/gnu.tar b/lib/tar/test/data/file-size/gnu.tar Binary files differnew file mode 100644 index 0000000..aad726f --- /dev/null +++ b/lib/tar/test/data/file-size/gnu.tar diff --git a/lib/tar/test/data/file-size/pax.tar b/lib/tar/test/data/file-size/pax.tar Binary files differnew file mode 100644 index 0000000..e391fee --- /dev/null +++ b/lib/tar/test/data/file-size/pax.tar diff --git a/lib/tar/test/data/format-acceptance/gnu-g.tar b/lib/tar/test/data/format-acceptance/gnu-g.tar Binary files differnew file mode 100644 index 0000000..a72f60d --- /dev/null +++ b/lib/tar/test/data/format-acceptance/gnu-g.tar diff --git a/lib/tar/test/data/format-acceptance/gnu.tar b/lib/tar/test/data/format-acceptance/gnu.tar Binary files differnew file mode 100644 index 0000000..98e8157 --- /dev/null +++ b/lib/tar/test/data/format-acceptance/gnu.tar diff --git a/lib/tar/test/data/format-acceptance/link_filled.tar b/lib/tar/test/data/format-acceptance/link_filled.tar Binary files differnew file mode 100644 index 0000000..9b80f89 --- /dev/null +++ b/lib/tar/test/data/format-acceptance/link_filled.tar diff --git a/lib/tar/test/data/format-acceptance/pax.tar b/lib/tar/test/data/format-acceptance/pax.tar Binary files differnew file mode 100644 index 0000000..69a029f --- /dev/null +++ b/lib/tar/test/data/format-acceptance/pax.tar diff --git a/lib/tar/test/data/format-acceptance/ustar-pre-posix.tar b/lib/tar/test/data/format-acceptance/ustar-pre-posix.tar Binary files differnew file mode 100644 index 0000000..4230f5f --- /dev/null +++ b/lib/tar/test/data/format-acceptance/ustar-pre-posix.tar diff --git a/lib/tar/test/data/format-acceptance/ustar.tar b/lib/tar/test/data/format-acceptance/ustar.tar Binary files differnew file mode 100644 index 0000000..9a6d9b3 --- /dev/null +++ b/lib/tar/test/data/format-acceptance/ustar.tar diff --git a/lib/tar/test/data/format-acceptance/v7.tar b/lib/tar/test/data/format-acceptance/v7.tar Binary files differnew file mode 100644 index 0000000..5483b4b --- /dev/null +++ b/lib/tar/test/data/format-acceptance/v7.tar diff --git a/lib/tar/test/data/large-mtime/12-digit.tar b/lib/tar/test/data/large-mtime/12-digit.tar Binary files differnew file mode 100644 index 0000000..8202b28 --- /dev/null +++ b/lib/tar/test/data/large-mtime/12-digit.tar diff --git a/lib/tar/test/data/large-mtime/gnu.tar b/lib/tar/test/data/large-mtime/gnu.tar Binary files differnew file mode 100644 index 0000000..4e3dda2 --- /dev/null +++ b/lib/tar/test/data/large-mtime/gnu.tar diff --git a/lib/tar/test/data/large-mtime/pax.tar b/lib/tar/test/data/large-mtime/pax.tar Binary files differnew file mode 100644 index 0000000..8d32530 --- /dev/null +++ b/lib/tar/test/data/large-mtime/pax.tar diff --git a/lib/tar/test/data/long-paths/gnu.tar b/lib/tar/test/data/long-paths/gnu.tar Binary files differnew file mode 100644 index 0000000..4eee731 --- /dev/null +++ b/lib/tar/test/data/long-paths/gnu.tar diff --git a/lib/tar/test/data/long-paths/pax.tar b/lib/tar/test/data/long-paths/pax.tar Binary files differnew file mode 100644 index 0000000..1e63e9c --- /dev/null +++ b/lib/tar/test/data/long-paths/pax.tar diff --git a/lib/tar/test/data/long-paths/ustar.tar b/lib/tar/test/data/long-paths/ustar.tar Binary files differnew file mode 100644 index 0000000..812255c --- /dev/null +++ b/lib/tar/test/data/long-paths/ustar.tar diff --git a/lib/tar/test/data/negative-mtime/gnu.tar b/lib/tar/test/data/negative-mtime/gnu.tar Binary files differnew file mode 100644 index 0000000..a9b1272 --- /dev/null +++ b/lib/tar/test/data/negative-mtime/gnu.tar diff --git a/lib/tar/test/data/negative-mtime/pax.tar b/lib/tar/test/data/negative-mtime/pax.tar Binary files differnew file mode 100644 index 0000000..d0b3e6c --- /dev/null +++ b/lib/tar/test/data/negative-mtime/pax.tar diff --git a/lib/tar/test/data/sparse-files/gnu-small.tar b/lib/tar/test/data/sparse-files/gnu-small.tar Binary files differnew file mode 100644 index 0000000..7a1b222 --- /dev/null +++ b/lib/tar/test/data/sparse-files/gnu-small.tar diff --git a/lib/tar/test/data/sparse-files/gnu.tar b/lib/tar/test/data/sparse-files/gnu.tar Binary files differnew file mode 100644 index 0000000..3d641a2 --- /dev/null +++ b/lib/tar/test/data/sparse-files/gnu.tar diff --git a/lib/tar/test/data/sparse-files/pax-gnu0-0.tar b/lib/tar/test/data/sparse-files/pax-gnu0-0.tar Binary files differnew file mode 100644 index 0000000..628f09e --- /dev/null +++ b/lib/tar/test/data/sparse-files/pax-gnu0-0.tar diff --git a/lib/tar/test/data/sparse-files/pax-gnu0-1.tar b/lib/tar/test/data/sparse-files/pax-gnu0-1.tar Binary files differnew file mode 100644 index 0000000..87e362e --- /dev/null +++ b/lib/tar/test/data/sparse-files/pax-gnu0-1.tar diff --git a/lib/tar/test/data/sparse-files/pax-gnu1-0.tar b/lib/tar/test/data/sparse-files/pax-gnu1-0.tar Binary files differnew file mode 100644 index 0000000..edb0ccf --- /dev/null +++ b/lib/tar/test/data/sparse-files/pax-gnu1-0.tar diff --git a/lib/tar/test/data/user-group-largenum/8-digit.tar b/lib/tar/test/data/user-group-largenum/8-digit.tar Binary files differnew file mode 100644 index 0000000..a48ea5d --- /dev/null +++ b/lib/tar/test/data/user-group-largenum/8-digit.tar diff --git a/lib/tar/test/data/user-group-largenum/gnu.tar b/lib/tar/test/data/user-group-largenum/gnu.tar Binary files differnew file mode 100644 index 0000000..4c30f57 --- /dev/null +++ b/lib/tar/test/data/user-group-largenum/gnu.tar diff --git a/lib/tar/test/data/user-group-largenum/pax.tar b/lib/tar/test/data/user-group-largenum/pax.tar Binary files differnew file mode 100644 index 0000000..a9fe54c --- /dev/null +++ b/lib/tar/test/data/user-group-largenum/pax.tar diff --git a/lib/tar/test/data/xattr/acl.tar b/lib/tar/test/data/xattr/acl.tar Binary files differnew file mode 100644 index 0000000..a65c0af --- /dev/null +++ b/lib/tar/test/data/xattr/acl.tar diff --git a/lib/tar/test/data/xattr/xattr-libarchive.tar b/lib/tar/test/data/xattr/xattr-libarchive.tar Binary files differnew file mode 100644 index 0000000..3bd6125 --- /dev/null +++ b/lib/tar/test/data/xattr/xattr-libarchive.tar diff --git a/lib/tar/test/data/xattr/xattr-schily-binary.tar b/lib/tar/test/data/xattr/xattr-schily-binary.tar Binary files differnew file mode 100644 index 0000000..0312807 --- /dev/null +++ b/lib/tar/test/data/xattr/xattr-schily-binary.tar diff --git a/lib/tar/test/data/xattr/xattr-schily.tar b/lib/tar/test/data/xattr/xattr-schily.tar Binary files differnew file mode 100644 index 0000000..1cf525c --- /dev/null +++ b/lib/tar/test/data/xattr/xattr-schily.tar |