aboutsummaryrefslogtreecommitdiff
path: root/tests/tar
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2019-06-28 11:32:50 +0200
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2019-06-28 11:32:50 +0200
commit3d8415151b67ac1df1ecb370ad0ab9c808d004f0 (patch)
tree39f1e4af687b9219ad56146001a96c6b99d9d384 /tests/tar
parent1582ca88cb056d84a93cd40731d362083dad8cd4 (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/CREDITS3
-rw-r--r--tests/tar/file-size/12-digit.tarbin0 -> 2048 bytes
-rw-r--r--tests/tar/file-size/12-digit.tar.gz.gzbin99861 -> 0 bytes
-rw-r--r--tests/tar/file-size/ZIPBOMB-WARNING6
-rw-r--r--tests/tar/file-size/gnu.tarbin0 -> 2048 bytes
-rw-r--r--tests/tar/file-size/gnu.tar.gz.gzbin99827 -> 0 bytes
-rw-r--r--tests/tar/file-size/pax.tarbin0 -> 2048 bytes
-rw-r--r--tests/tar/file-size/pax.tar.gz.gzbin100215 -> 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
new file mode 100644
index 0000000..a6b3553
--- /dev/null
+++ b/tests/tar/file-size/12-digit.tar
Binary files differ
diff --git a/tests/tar/file-size/12-digit.tar.gz.gz b/tests/tar/file-size/12-digit.tar.gz.gz
deleted file mode 100644
index aaa69e3..0000000
--- a/tests/tar/file-size/12-digit.tar.gz.gz
+++ /dev/null
Binary files differ
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
new file mode 100644
index 0000000..aad726f
--- /dev/null
+++ b/tests/tar/file-size/gnu.tar
Binary files differ
diff --git a/tests/tar/file-size/gnu.tar.gz.gz b/tests/tar/file-size/gnu.tar.gz.gz
deleted file mode 100644
index 6ae4342..0000000
--- a/tests/tar/file-size/gnu.tar.gz.gz
+++ /dev/null
Binary files differ
diff --git a/tests/tar/file-size/pax.tar b/tests/tar/file-size/pax.tar
new file mode 100644
index 0000000..e391fee
--- /dev/null
+++ b/tests/tar/file-size/pax.tar
Binary files differ
diff --git a/tests/tar/file-size/pax.tar.gz.gz b/tests/tar/file-size/pax.tar.gz.gz
deleted file mode 100644
index 7c887d6..0000000
--- a/tests/tar/file-size/pax.tar.gz.gz
+++ /dev/null
Binary files differ