diff options
author | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2019-06-24 10:24:48 +0200 |
---|---|---|
committer | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2019-06-24 10:24:48 +0200 |
commit | 2a941d1c1efa6f392aafcc2e8b442e39a9cb214c (patch) | |
tree | bc2bc315c0721049fce505b2083542bbbc19fbb8 | |
parent | 0bec3189c22b91c647975cf3ad204b0a361caf95 (diff) |
Import tar reader test cases
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
39 files changed, 25 insertions, 0 deletions
diff --git a/tests/tar/CREDITS b/tests/tar/CREDITS new file mode 100644 index 0000000..959e558 --- /dev/null +++ b/tests/tar/CREDITS @@ -0,0 +1,19 @@ +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 diff --git a/tests/tar/file-size/12-digit.tar.gz.gz b/tests/tar/file-size/12-digit.tar.gz.gz Binary files differnew file mode 100644 index 0000000..aaa69e3 --- /dev/null +++ b/tests/tar/file-size/12-digit.tar.gz.gz diff --git a/tests/tar/file-size/ZIPBOMB-WARNING b/tests/tar/file-size/ZIPBOMB-WARNING new file mode 100644 index 0000000..e530637 --- /dev/null +++ b/tests/tar/file-size/ZIPBOMB-WARNING @@ -0,0 +1,6 @@ +WARNING! + +The inner compressed tarballs in this directory are 8 GiB of size each. +Be careful not to decompress them accidentally without preparing +appropriate backing store (or having the decompressor smart about sparse +files). diff --git a/tests/tar/file-size/gnu.tar.gz.gz b/tests/tar/file-size/gnu.tar.gz.gz Binary files differnew file mode 100644 index 0000000..6ae4342 --- /dev/null +++ b/tests/tar/file-size/gnu.tar.gz.gz diff --git a/tests/tar/file-size/pax.tar.gz.gz b/tests/tar/file-size/pax.tar.gz.gz Binary files differnew file mode 100644 index 0000000..7c887d6 --- /dev/null +++ b/tests/tar/file-size/pax.tar.gz.gz diff --git a/tests/tar/format-acceptance/gnu-g.tar b/tests/tar/format-acceptance/gnu-g.tar Binary files differnew file mode 100644 index 0000000..a72f60d --- /dev/null +++ b/tests/tar/format-acceptance/gnu-g.tar diff --git a/tests/tar/format-acceptance/gnu.tar b/tests/tar/format-acceptance/gnu.tar Binary files differnew file mode 100644 index 0000000..98e8157 --- /dev/null +++ b/tests/tar/format-acceptance/gnu.tar diff --git a/tests/tar/format-acceptance/pax.tar b/tests/tar/format-acceptance/pax.tar Binary files differnew file mode 100644 index 0000000..69a029f --- /dev/null +++ b/tests/tar/format-acceptance/pax.tar diff --git a/tests/tar/format-acceptance/star.tar b/tests/tar/format-acceptance/star.tar Binary files differnew file mode 100644 index 0000000..0c24ae5 --- /dev/null +++ b/tests/tar/format-acceptance/star.tar diff --git a/tests/tar/format-acceptance/suntar.tar b/tests/tar/format-acceptance/suntar.tar Binary files differnew file mode 100644 index 0000000..8b2d73b --- /dev/null +++ b/tests/tar/format-acceptance/suntar.tar diff --git a/tests/tar/format-acceptance/ustar-pre-posix.tar b/tests/tar/format-acceptance/ustar-pre-posix.tar Binary files differnew file mode 100644 index 0000000..4230f5f --- /dev/null +++ b/tests/tar/format-acceptance/ustar-pre-posix.tar diff --git a/tests/tar/format-acceptance/ustar.tar b/tests/tar/format-acceptance/ustar.tar Binary files differnew file mode 100644 index 0000000..9a6d9b3 --- /dev/null +++ b/tests/tar/format-acceptance/ustar.tar diff --git a/tests/tar/format-acceptance/v7.tar b/tests/tar/format-acceptance/v7.tar Binary files differnew file mode 100644 index 0000000..5483b4b --- /dev/null +++ b/tests/tar/format-acceptance/v7.tar diff --git a/tests/tar/large-mtime/12-digit.tar b/tests/tar/large-mtime/12-digit.tar Binary files differnew file mode 100644 index 0000000..8202b28 --- /dev/null +++ b/tests/tar/large-mtime/12-digit.tar diff --git a/tests/tar/large-mtime/gnu.tar b/tests/tar/large-mtime/gnu.tar Binary files differnew file mode 100644 index 0000000..4e3dda2 --- /dev/null +++ b/tests/tar/large-mtime/gnu.tar diff --git a/tests/tar/large-mtime/pax.tar b/tests/tar/large-mtime/pax.tar Binary files differnew file mode 100644 index 0000000..8d32530 --- /dev/null +++ b/tests/tar/large-mtime/pax.tar diff --git a/tests/tar/long-paths/gnu.tar b/tests/tar/long-paths/gnu.tar Binary files differnew file mode 100644 index 0000000..4eee731 --- /dev/null +++ b/tests/tar/long-paths/gnu.tar diff --git a/tests/tar/long-paths/pax.tar b/tests/tar/long-paths/pax.tar Binary files differnew file mode 100644 index 0000000..1e63e9c --- /dev/null +++ b/tests/tar/long-paths/pax.tar diff --git a/tests/tar/long-paths/star.tar b/tests/tar/long-paths/star.tar Binary files differnew file mode 100644 index 0000000..ed94d48 --- /dev/null +++ b/tests/tar/long-paths/star.tar diff --git a/tests/tar/long-paths/ustar.tar b/tests/tar/long-paths/ustar.tar Binary files differnew file mode 100644 index 0000000..812255c --- /dev/null +++ b/tests/tar/long-paths/ustar.tar diff --git a/tests/tar/negative-mtime/gnu.tar b/tests/tar/negative-mtime/gnu.tar Binary files differnew file mode 100644 index 0000000..a9b1272 --- /dev/null +++ b/tests/tar/negative-mtime/gnu.tar diff --git a/tests/tar/negative-mtime/pax.tar b/tests/tar/negative-mtime/pax.tar Binary files differnew file mode 100644 index 0000000..d0b3e6c --- /dev/null +++ b/tests/tar/negative-mtime/pax.tar diff --git a/tests/tar/sparse-files/gnu-small.tar b/tests/tar/sparse-files/gnu-small.tar Binary files differnew file mode 100644 index 0000000..7a1b222 --- /dev/null +++ b/tests/tar/sparse-files/gnu-small.tar diff --git a/tests/tar/sparse-files/gnu.tar b/tests/tar/sparse-files/gnu.tar Binary files differnew file mode 100644 index 0000000..3d641a2 --- /dev/null +++ b/tests/tar/sparse-files/gnu.tar diff --git a/tests/tar/sparse-files/pax-gnu0-0.tar b/tests/tar/sparse-files/pax-gnu0-0.tar Binary files differnew file mode 100644 index 0000000..628f09e --- /dev/null +++ b/tests/tar/sparse-files/pax-gnu0-0.tar diff --git a/tests/tar/sparse-files/pax-gnu0-1.tar b/tests/tar/sparse-files/pax-gnu0-1.tar Binary files differnew file mode 100644 index 0000000..87e362e --- /dev/null +++ b/tests/tar/sparse-files/pax-gnu0-1.tar diff --git a/tests/tar/sparse-files/pax-gnu1-0.tar b/tests/tar/sparse-files/pax-gnu1-0.tar Binary files differnew file mode 100644 index 0000000..edb0ccf --- /dev/null +++ b/tests/tar/sparse-files/pax-gnu1-0.tar diff --git a/tests/tar/sparse-files/star.tar b/tests/tar/sparse-files/star.tar Binary files differnew file mode 100644 index 0000000..254ad97 --- /dev/null +++ b/tests/tar/sparse-files/star.tar diff --git a/tests/tar/sparse-files/xstar.tar b/tests/tar/sparse-files/xstar.tar Binary files differnew file mode 100644 index 0000000..6eacd2b --- /dev/null +++ b/tests/tar/sparse-files/xstar.tar diff --git a/tests/tar/user-group-largenum/8-digit.tar b/tests/tar/user-group-largenum/8-digit.tar Binary files differnew file mode 100644 index 0000000..a48ea5d --- /dev/null +++ b/tests/tar/user-group-largenum/8-digit.tar diff --git a/tests/tar/user-group-largenum/gnu.tar b/tests/tar/user-group-largenum/gnu.tar Binary files differnew file mode 100644 index 0000000..4c30f57 --- /dev/null +++ b/tests/tar/user-group-largenum/gnu.tar diff --git a/tests/tar/user-group-largenum/pax.tar b/tests/tar/user-group-largenum/pax.tar Binary files differnew file mode 100644 index 0000000..a9fe54c --- /dev/null +++ b/tests/tar/user-group-largenum/pax.tar diff --git a/tests/tar/user-group-name/pax.tar b/tests/tar/user-group-name/pax.tar Binary files differnew file mode 100644 index 0000000..d174bc6 --- /dev/null +++ b/tests/tar/user-group-name/pax.tar diff --git a/tests/tar/user-group-name/ustar-32chars.tar b/tests/tar/user-group-name/ustar-32chars.tar Binary files differnew file mode 100644 index 0000000..3f73778 --- /dev/null +++ b/tests/tar/user-group-name/ustar-32chars.tar diff --git a/tests/tar/xattr/acl.tar b/tests/tar/xattr/acl.tar Binary files differnew file mode 100644 index 0000000..a65c0af --- /dev/null +++ b/tests/tar/xattr/acl.tar diff --git a/tests/tar/xattr/fflags-libarchive.tar b/tests/tar/xattr/fflags-libarchive.tar Binary files differnew file mode 100644 index 0000000..9df3f69 --- /dev/null +++ b/tests/tar/xattr/fflags-libarchive.tar diff --git a/tests/tar/xattr/fflags-schily.tar b/tests/tar/xattr/fflags-schily.tar Binary files differnew file mode 100644 index 0000000..31a0087 --- /dev/null +++ b/tests/tar/xattr/fflags-schily.tar diff --git a/tests/tar/xattr/xattr-libarchive.tar b/tests/tar/xattr/xattr-libarchive.tar Binary files differnew file mode 100644 index 0000000..3bd6125 --- /dev/null +++ b/tests/tar/xattr/xattr-libarchive.tar diff --git a/tests/tar/xattr/xattr-schily.tar b/tests/tar/xattr/xattr-schily.tar Binary files differnew file mode 100644 index 0000000..1cf525c --- /dev/null +++ b/tests/tar/xattr/xattr-schily.tar |