From 43a123c1ae6613b3efeed291fa552ecd909d3acf Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Tue, 16 Apr 2024 21:23:18 +0200 Subject: Adding upstream version 1.20.14. Signed-off-by: Daniel Baumann --- src/archive/tar/testdata/file-and-dir.tar | Bin 0 -> 2560 bytes src/archive/tar/testdata/gnu-incremental.tar | Bin 0 -> 2560 bytes src/archive/tar/testdata/gnu-long-nul.tar | Bin 0 -> 2560 bytes src/archive/tar/testdata/gnu-multi-hdrs.tar | Bin 0 -> 4608 bytes src/archive/tar/testdata/gnu-nil-sparse-data.tar | Bin 0 -> 2560 bytes src/archive/tar/testdata/gnu-nil-sparse-hole.tar | Bin 0 -> 1536 bytes src/archive/tar/testdata/gnu-not-utf8.tar | Bin 0 -> 1536 bytes src/archive/tar/testdata/gnu-sparse-big.tar | Bin 0 -> 5120 bytes src/archive/tar/testdata/gnu-utf8.tar | Bin 0 -> 2560 bytes src/archive/tar/testdata/gnu.tar | Bin 0 -> 3072 bytes src/archive/tar/testdata/hardlink.tar | Bin 0 -> 2560 bytes src/archive/tar/testdata/hdr-only.tar | Bin 0 -> 10240 bytes src/archive/tar/testdata/invalid-go17.tar | Bin 0 -> 1536 bytes src/archive/tar/testdata/issue10968.tar | Bin 0 -> 512 bytes src/archive/tar/testdata/issue11169.tar | Bin 0 -> 602 bytes src/archive/tar/testdata/issue12435.tar | Bin 0 -> 512 bytes src/archive/tar/testdata/neg-size.tar | Bin 0 -> 512 bytes src/archive/tar/testdata/nil-uid.tar | Bin 0 -> 1024 bytes src/archive/tar/testdata/pax-bad-hdr-file.tar | Bin 0 -> 2560 bytes src/archive/tar/testdata/pax-bad-hdr-large.tar.bz2 | Bin 0 -> 156 bytes src/archive/tar/testdata/pax-bad-mtime-file.tar | Bin 0 -> 2560 bytes src/archive/tar/testdata/pax-global-records.tar | Bin 0 -> 7168 bytes src/archive/tar/testdata/pax-multi-hdrs.tar | Bin 0 -> 4608 bytes src/archive/tar/testdata/pax-nil-sparse-data.tar | Bin 0 -> 4096 bytes src/archive/tar/testdata/pax-nil-sparse-hole.tar | Bin 0 -> 3072 bytes src/archive/tar/testdata/pax-nul-path.tar | Bin 0 -> 2560 bytes src/archive/tar/testdata/pax-nul-xattrs.tar | Bin 0 -> 2560 bytes src/archive/tar/testdata/pax-path-hdr.tar | Bin 0 -> 1024 bytes src/archive/tar/testdata/pax-pos-size-file.tar | Bin 0 -> 2560 bytes src/archive/tar/testdata/pax-records.tar | Bin 0 -> 2560 bytes src/archive/tar/testdata/pax-sparse-big.tar | Bin 0 -> 6144 bytes src/archive/tar/testdata/pax.tar | Bin 0 -> 10240 bytes src/archive/tar/testdata/small.txt | 1 + src/archive/tar/testdata/small2.txt | 1 + src/archive/tar/testdata/sparse-formats.tar | Bin 0 -> 17920 bytes src/archive/tar/testdata/star.tar | Bin 0 -> 3072 bytes src/archive/tar/testdata/trailing-slash.tar | Bin 0 -> 2560 bytes src/archive/tar/testdata/ustar-file-devs.tar | Bin 0 -> 1536 bytes src/archive/tar/testdata/ustar-file-reg.tar | Bin 0 -> 1536 bytes src/archive/tar/testdata/ustar.tar | Bin 0 -> 2048 bytes src/archive/tar/testdata/v7.tar | Bin 0 -> 3584 bytes src/archive/tar/testdata/writer-big-long.tar | Bin 0 -> 1536 bytes src/archive/tar/testdata/writer-big.tar | Bin 0 -> 512 bytes src/archive/tar/testdata/writer.tar | Bin 0 -> 3584 bytes src/archive/tar/testdata/xattrs.tar | Bin 0 -> 5120 bytes 45 files changed, 2 insertions(+) create mode 100644 src/archive/tar/testdata/file-and-dir.tar create mode 100644 src/archive/tar/testdata/gnu-incremental.tar create mode 100644 src/archive/tar/testdata/gnu-long-nul.tar create mode 100644 src/archive/tar/testdata/gnu-multi-hdrs.tar create mode 100644 src/archive/tar/testdata/gnu-nil-sparse-data.tar create mode 100644 src/archive/tar/testdata/gnu-nil-sparse-hole.tar create mode 100644 src/archive/tar/testdata/gnu-not-utf8.tar create mode 100644 src/archive/tar/testdata/gnu-sparse-big.tar create mode 100644 src/archive/tar/testdata/gnu-utf8.tar create mode 100644 src/archive/tar/testdata/gnu.tar create mode 100644 src/archive/tar/testdata/hardlink.tar create mode 100644 src/archive/tar/testdata/hdr-only.tar create mode 100644 src/archive/tar/testdata/invalid-go17.tar create mode 100644 src/archive/tar/testdata/issue10968.tar create mode 100644 src/archive/tar/testdata/issue11169.tar create mode 100644 src/archive/tar/testdata/issue12435.tar create mode 100644 src/archive/tar/testdata/neg-size.tar create mode 100644 src/archive/tar/testdata/nil-uid.tar create mode 100644 src/archive/tar/testdata/pax-bad-hdr-file.tar create mode 100644 src/archive/tar/testdata/pax-bad-hdr-large.tar.bz2 create mode 100644 src/archive/tar/testdata/pax-bad-mtime-file.tar create mode 100644 src/archive/tar/testdata/pax-global-records.tar create mode 100644 src/archive/tar/testdata/pax-multi-hdrs.tar create mode 100644 src/archive/tar/testdata/pax-nil-sparse-data.tar create mode 100644 src/archive/tar/testdata/pax-nil-sparse-hole.tar create mode 100644 src/archive/tar/testdata/pax-nul-path.tar create mode 100644 src/archive/tar/testdata/pax-nul-xattrs.tar create mode 100644 src/archive/tar/testdata/pax-path-hdr.tar create mode 100644 src/archive/tar/testdata/pax-pos-size-file.tar create mode 100644 src/archive/tar/testdata/pax-records.tar create mode 100644 src/archive/tar/testdata/pax-sparse-big.tar create mode 100644 src/archive/tar/testdata/pax.tar create mode 100644 src/archive/tar/testdata/small.txt create mode 100644 src/archive/tar/testdata/small2.txt create mode 100644 src/archive/tar/testdata/sparse-formats.tar create mode 100644 src/archive/tar/testdata/star.tar create mode 100644 src/archive/tar/testdata/trailing-slash.tar create mode 100644 src/archive/tar/testdata/ustar-file-devs.tar create mode 100644 src/archive/tar/testdata/ustar-file-reg.tar create mode 100644 src/archive/tar/testdata/ustar.tar create mode 100644 src/archive/tar/testdata/v7.tar create mode 100644 src/archive/tar/testdata/writer-big-long.tar create mode 100644 src/archive/tar/testdata/writer-big.tar create mode 100644 src/archive/tar/testdata/writer.tar create mode 100644 src/archive/tar/testdata/xattrs.tar (limited to 'src/archive/tar/testdata') diff --git a/src/archive/tar/testdata/file-and-dir.tar b/src/archive/tar/testdata/file-and-dir.tar new file mode 100644 index 0000000..c18d428 Binary files /dev/null and b/src/archive/tar/testdata/file-and-dir.tar differ diff --git a/src/archive/tar/testdata/gnu-incremental.tar b/src/archive/tar/testdata/gnu-incremental.tar new file mode 100644 index 0000000..4c442e5 Binary files /dev/null and b/src/archive/tar/testdata/gnu-incremental.tar differ diff --git a/src/archive/tar/testdata/gnu-long-nul.tar b/src/archive/tar/testdata/gnu-long-nul.tar new file mode 100644 index 0000000..28bc812 Binary files /dev/null and b/src/archive/tar/testdata/gnu-long-nul.tar differ diff --git a/src/archive/tar/testdata/gnu-multi-hdrs.tar b/src/archive/tar/testdata/gnu-multi-hdrs.tar new file mode 100644 index 0000000..8bcad55 Binary files /dev/null and b/src/archive/tar/testdata/gnu-multi-hdrs.tar differ diff --git a/src/archive/tar/testdata/gnu-nil-sparse-data.tar b/src/archive/tar/testdata/gnu-nil-sparse-data.tar new file mode 100644 index 0000000..df1aa83 Binary files /dev/null and b/src/archive/tar/testdata/gnu-nil-sparse-data.tar differ diff --git a/src/archive/tar/testdata/gnu-nil-sparse-hole.tar b/src/archive/tar/testdata/gnu-nil-sparse-hole.tar new file mode 100644 index 0000000..496abfe Binary files /dev/null and b/src/archive/tar/testdata/gnu-nil-sparse-hole.tar differ diff --git a/src/archive/tar/testdata/gnu-not-utf8.tar b/src/archive/tar/testdata/gnu-not-utf8.tar new file mode 100644 index 0000000..81cec67 Binary files /dev/null and b/src/archive/tar/testdata/gnu-not-utf8.tar differ diff --git a/src/archive/tar/testdata/gnu-sparse-big.tar b/src/archive/tar/testdata/gnu-sparse-big.tar new file mode 100644 index 0000000..1a5cfc9 Binary files /dev/null and b/src/archive/tar/testdata/gnu-sparse-big.tar differ diff --git a/src/archive/tar/testdata/gnu-utf8.tar b/src/archive/tar/testdata/gnu-utf8.tar new file mode 100644 index 0000000..2c9c807 Binary files /dev/null and b/src/archive/tar/testdata/gnu-utf8.tar differ diff --git a/src/archive/tar/testdata/gnu.tar b/src/archive/tar/testdata/gnu.tar new file mode 100644 index 0000000..fc899dc Binary files /dev/null and b/src/archive/tar/testdata/gnu.tar differ diff --git a/src/archive/tar/testdata/hardlink.tar b/src/archive/tar/testdata/hardlink.tar new file mode 100644 index 0000000..9cd1a26 Binary files /dev/null and b/src/archive/tar/testdata/hardlink.tar differ diff --git a/src/archive/tar/testdata/hdr-only.tar b/src/archive/tar/testdata/hdr-only.tar new file mode 100644 index 0000000..f250340 Binary files /dev/null and b/src/archive/tar/testdata/hdr-only.tar differ diff --git a/src/archive/tar/testdata/invalid-go17.tar b/src/archive/tar/testdata/invalid-go17.tar new file mode 100644 index 0000000..58f2488 Binary files /dev/null and b/src/archive/tar/testdata/invalid-go17.tar differ diff --git a/src/archive/tar/testdata/issue10968.tar b/src/archive/tar/testdata/issue10968.tar new file mode 100644 index 0000000..1cc837b Binary files /dev/null and b/src/archive/tar/testdata/issue10968.tar differ diff --git a/src/archive/tar/testdata/issue11169.tar b/src/archive/tar/testdata/issue11169.tar new file mode 100644 index 0000000..4d71fa1 Binary files /dev/null and b/src/archive/tar/testdata/issue11169.tar differ diff --git a/src/archive/tar/testdata/issue12435.tar b/src/archive/tar/testdata/issue12435.tar new file mode 100644 index 0000000..3542dd8 Binary files /dev/null and b/src/archive/tar/testdata/issue12435.tar differ diff --git a/src/archive/tar/testdata/neg-size.tar b/src/archive/tar/testdata/neg-size.tar new file mode 100644 index 0000000..21edf38 Binary files /dev/null and b/src/archive/tar/testdata/neg-size.tar differ diff --git a/src/archive/tar/testdata/nil-uid.tar b/src/archive/tar/testdata/nil-uid.tar new file mode 100644 index 0000000..cc9cfaa Binary files /dev/null and b/src/archive/tar/testdata/nil-uid.tar differ diff --git a/src/archive/tar/testdata/pax-bad-hdr-file.tar b/src/archive/tar/testdata/pax-bad-hdr-file.tar new file mode 100644 index 0000000..b97cc98 Binary files /dev/null and b/src/archive/tar/testdata/pax-bad-hdr-file.tar differ diff --git a/src/archive/tar/testdata/pax-bad-hdr-large.tar.bz2 b/src/archive/tar/testdata/pax-bad-hdr-large.tar.bz2 new file mode 100644 index 0000000..06bf710 Binary files /dev/null and b/src/archive/tar/testdata/pax-bad-hdr-large.tar.bz2 differ diff --git a/src/archive/tar/testdata/pax-bad-mtime-file.tar b/src/archive/tar/testdata/pax-bad-mtime-file.tar new file mode 100644 index 0000000..9b22f7e Binary files /dev/null and b/src/archive/tar/testdata/pax-bad-mtime-file.tar differ diff --git a/src/archive/tar/testdata/pax-global-records.tar b/src/archive/tar/testdata/pax-global-records.tar new file mode 100644 index 0000000..3d3d241 Binary files /dev/null and b/src/archive/tar/testdata/pax-global-records.tar differ diff --git a/src/archive/tar/testdata/pax-multi-hdrs.tar b/src/archive/tar/testdata/pax-multi-hdrs.tar new file mode 100644 index 0000000..14bc759 Binary files /dev/null and b/src/archive/tar/testdata/pax-multi-hdrs.tar differ diff --git a/src/archive/tar/testdata/pax-nil-sparse-data.tar b/src/archive/tar/testdata/pax-nil-sparse-data.tar new file mode 100644 index 0000000..e59bd94 Binary files /dev/null and b/src/archive/tar/testdata/pax-nil-sparse-data.tar differ diff --git a/src/archive/tar/testdata/pax-nil-sparse-hole.tar b/src/archive/tar/testdata/pax-nil-sparse-hole.tar new file mode 100644 index 0000000..b44327b Binary files /dev/null and b/src/archive/tar/testdata/pax-nil-sparse-hole.tar differ diff --git a/src/archive/tar/testdata/pax-nul-path.tar b/src/archive/tar/testdata/pax-nul-path.tar new file mode 100644 index 0000000..c78f82b Binary files /dev/null and b/src/archive/tar/testdata/pax-nul-path.tar differ diff --git a/src/archive/tar/testdata/pax-nul-xattrs.tar b/src/archive/tar/testdata/pax-nul-xattrs.tar new file mode 100644 index 0000000..881f517 Binary files /dev/null and b/src/archive/tar/testdata/pax-nul-xattrs.tar differ diff --git a/src/archive/tar/testdata/pax-path-hdr.tar b/src/archive/tar/testdata/pax-path-hdr.tar new file mode 100644 index 0000000..ab8fc32 Binary files /dev/null and b/src/archive/tar/testdata/pax-path-hdr.tar differ diff --git a/src/archive/tar/testdata/pax-pos-size-file.tar b/src/archive/tar/testdata/pax-pos-size-file.tar new file mode 100644 index 0000000..ea5ccf9 Binary files /dev/null and b/src/archive/tar/testdata/pax-pos-size-file.tar differ diff --git a/src/archive/tar/testdata/pax-records.tar b/src/archive/tar/testdata/pax-records.tar new file mode 100644 index 0000000..276c211 Binary files /dev/null and b/src/archive/tar/testdata/pax-records.tar differ diff --git a/src/archive/tar/testdata/pax-sparse-big.tar b/src/archive/tar/testdata/pax-sparse-big.tar new file mode 100644 index 0000000..65d1f8e Binary files /dev/null and b/src/archive/tar/testdata/pax-sparse-big.tar differ diff --git a/src/archive/tar/testdata/pax.tar b/src/archive/tar/testdata/pax.tar new file mode 100644 index 0000000..9bc24b6 Binary files /dev/null and b/src/archive/tar/testdata/pax.tar differ diff --git a/src/archive/tar/testdata/small.txt b/src/archive/tar/testdata/small.txt new file mode 100644 index 0000000..b249bfc --- /dev/null +++ b/src/archive/tar/testdata/small.txt @@ -0,0 +1 @@ +Kilts \ No newline at end of file diff --git a/src/archive/tar/testdata/small2.txt b/src/archive/tar/testdata/small2.txt new file mode 100644 index 0000000..394ee3e --- /dev/null +++ b/src/archive/tar/testdata/small2.txt @@ -0,0 +1 @@ +Google.com diff --git a/src/archive/tar/testdata/sparse-formats.tar b/src/archive/tar/testdata/sparse-formats.tar new file mode 100644 index 0000000..8bd4e74 Binary files /dev/null and b/src/archive/tar/testdata/sparse-formats.tar differ diff --git a/src/archive/tar/testdata/star.tar b/src/archive/tar/testdata/star.tar new file mode 100644 index 0000000..59e2d4e Binary files /dev/null and b/src/archive/tar/testdata/star.tar differ diff --git a/src/archive/tar/testdata/trailing-slash.tar b/src/archive/tar/testdata/trailing-slash.tar new file mode 100644 index 0000000..93718b3 Binary files /dev/null and b/src/archive/tar/testdata/trailing-slash.tar differ diff --git a/src/archive/tar/testdata/ustar-file-devs.tar b/src/archive/tar/testdata/ustar-file-devs.tar new file mode 100644 index 0000000..146e25b Binary files /dev/null and b/src/archive/tar/testdata/ustar-file-devs.tar differ diff --git a/src/archive/tar/testdata/ustar-file-reg.tar b/src/archive/tar/testdata/ustar-file-reg.tar new file mode 100644 index 0000000..c84fa27 Binary files /dev/null and b/src/archive/tar/testdata/ustar-file-reg.tar differ diff --git a/src/archive/tar/testdata/ustar.tar b/src/archive/tar/testdata/ustar.tar new file mode 100644 index 0000000..29679d9 Binary files /dev/null and b/src/archive/tar/testdata/ustar.tar differ diff --git a/src/archive/tar/testdata/v7.tar b/src/archive/tar/testdata/v7.tar new file mode 100644 index 0000000..eb65fc9 Binary files /dev/null and b/src/archive/tar/testdata/v7.tar differ diff --git a/src/archive/tar/testdata/writer-big-long.tar b/src/archive/tar/testdata/writer-big-long.tar new file mode 100644 index 0000000..09fc5dd Binary files /dev/null and b/src/archive/tar/testdata/writer-big-long.tar differ diff --git a/src/archive/tar/testdata/writer-big.tar b/src/archive/tar/testdata/writer-big.tar new file mode 100644 index 0000000..435dcbc Binary files /dev/null and b/src/archive/tar/testdata/writer-big.tar differ diff --git a/src/archive/tar/testdata/writer.tar b/src/archive/tar/testdata/writer.tar new file mode 100644 index 0000000..e6d816a Binary files /dev/null and b/src/archive/tar/testdata/writer.tar differ diff --git a/src/archive/tar/testdata/xattrs.tar b/src/archive/tar/testdata/xattrs.tar new file mode 100644 index 0000000..9701950 Binary files /dev/null and b/src/archive/tar/testdata/xattrs.tar differ -- cgit v1.2.3