aboutsummaryrefslogtreecommitdiff
path: root/lib/tar/test/data
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2023-02-07 18:20:20 +0100
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2023-02-08 08:29:20 +0100
commit1be51b107dd08a9575cb07a0a71d459927a85494 (patch)
treead4cbc204742f1b2fe3c36a47486b1c20b2a197e /lib/tar/test/data
parentf0975f9e517edf54811f455f0ce549612d252534 (diff)
libtar: Add an istream_t implementation
The tar_istream_t reads the data from a tar file, having been given the header, and synthesizes zero bytes for sparse regions. Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'lib/tar/test/data')
-rw-r--r--lib/tar/test/data/CREDITS3
-rw-r--r--lib/tar/test/data/istream/sparse.tarbin0 -> 33792 bytes
2 files changed, 3 insertions, 0 deletions
diff --git a/lib/tar/test/data/CREDITS b/lib/tar/test/data/CREDITS
index 7a2738f..dab8951 100644
--- a/lib/tar/test/data/CREDITS
+++ b/lib/tar/test/data/CREDITS
@@ -33,3 +33,6 @@ The following addtional files have been added:
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.
+ - istream/sparse.tar
+ Derived from sparse/gnu.tar and contains some test data for testing the
+ tar istream implementation.
diff --git a/lib/tar/test/data/istream/sparse.tar b/lib/tar/test/data/istream/sparse.tar
new file mode 100644
index 0000000..7f4700d
--- /dev/null
+++ b/lib/tar/test/data/istream/sparse.tar
Binary files differ