diff options
author | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2019-06-28 11:32:50 +0200 |
---|---|---|
committer | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2019-06-28 11:32:50 +0200 |
commit | 3d8415151b67ac1df1ecb370ad0ab9c808d004f0 (patch) | |
tree | 39f1e4af687b9219ad56146001a96c6b99d9d384 /tests/tar | |
parent | 1582ca88cb056d84a93cd40731d362083dad8cd4 (diff) |
Add test case for tar large file size support
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'tests/tar')
-rw-r--r-- | tests/tar/CREDITS | 3 | ||||
-rw-r--r-- | tests/tar/file-size/12-digit.tar | bin | 0 -> 2048 bytes | |||
-rw-r--r-- | tests/tar/file-size/12-digit.tar.gz.gz | bin | 99861 -> 0 bytes | |||
-rw-r--r-- | tests/tar/file-size/ZIPBOMB-WARNING | 6 | ||||
-rw-r--r-- | tests/tar/file-size/gnu.tar | bin | 0 -> 2048 bytes | |||
-rw-r--r-- | tests/tar/file-size/gnu.tar.gz.gz | bin | 99827 -> 0 bytes | |||
-rw-r--r-- | tests/tar/file-size/pax.tar | bin | 0 -> 2048 bytes | |||
-rw-r--r-- | tests/tar/file-size/pax.tar.gz.gz | bin | 100215 -> 0 bytes |
8 files changed, 3 insertions, 6 deletions
diff --git a/tests/tar/CREDITS b/tests/tar/CREDITS index 32014fc..e4b19b4 100644 --- a/tests/tar/CREDITS +++ b/tests/tar/CREDITS @@ -20,3 +20,6 @@ for those features: - longe user + group names - sun tar samples - star samples + +In addition to that, the files in "file-size" are truncated, since we are only +interested in parsing the header. diff --git a/tests/tar/file-size/12-digit.tar b/tests/tar/file-size/12-digit.tar Binary files differnew file mode 100644 index 0000000..a6b3553 --- /dev/null +++ b/tests/tar/file-size/12-digit.tar diff --git a/tests/tar/file-size/12-digit.tar.gz.gz b/tests/tar/file-size/12-digit.tar.gz.gz Binary files differdeleted file mode 100644 index aaa69e3..0000000 --- a/tests/tar/file-size/12-digit.tar.gz.gz +++ /dev/null diff --git a/tests/tar/file-size/ZIPBOMB-WARNING b/tests/tar/file-size/ZIPBOMB-WARNING deleted file mode 100644 index e530637..0000000 --- a/tests/tar/file-size/ZIPBOMB-WARNING +++ /dev/null @@ -1,6 +0,0 @@ -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 b/tests/tar/file-size/gnu.tar Binary files differnew file mode 100644 index 0000000..aad726f --- /dev/null +++ b/tests/tar/file-size/gnu.tar diff --git a/tests/tar/file-size/gnu.tar.gz.gz b/tests/tar/file-size/gnu.tar.gz.gz Binary files differdeleted file mode 100644 index 6ae4342..0000000 --- a/tests/tar/file-size/gnu.tar.gz.gz +++ /dev/null diff --git a/tests/tar/file-size/pax.tar b/tests/tar/file-size/pax.tar Binary files differnew file mode 100644 index 0000000..e391fee --- /dev/null +++ b/tests/tar/file-size/pax.tar diff --git a/tests/tar/file-size/pax.tar.gz.gz b/tests/tar/file-size/pax.tar.gz.gz Binary files differdeleted file mode 100644 index 7c887d6..0000000 --- a/tests/tar/file-size/pax.tar.gz.gz +++ /dev/null |