diff options
author | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2023-02-12 12:28:40 +0100 |
---|---|---|
committer | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2023-02-12 12:28:40 +0100 |
commit | b635c78530d5d7f27f9805790c1f7ca227959177 (patch) | |
tree | 9581e10402219bcae6009c81087a9f525e8cece3 /lib/tar/test/data | |
parent | 9a7a07d047b6baffb095f16074402630fe2f0270 (diff) |
libtar: Add a test for the tar writing code
Generate a simple tarball and compare it with a reference.
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'lib/tar/test/data')
-rw-r--r-- | lib/tar/test/data/CREDITS | 4 | ||||
-rw-r--r-- | lib/tar/test/data/write/simple.tar | bin | 0 -> 10240 bytes |
2 files changed, 4 insertions, 0 deletions
diff --git a/lib/tar/test/data/CREDITS b/lib/tar/test/data/CREDITS index dab8951..1e7fb32 100644 --- a/lib/tar/test/data/CREDITS +++ b/lib/tar/test/data/CREDITS @@ -36,3 +36,7 @@ The following addtional files have been added: - istream/sparse.tar Derived from sparse/gnu.tar and contains some test data for testing the tar istream implementation. + - write/simple.tar + Created using the tar writer to verify that it works as intended. Used + for testing the tar writer to check if it still produces identical + output. diff --git a/lib/tar/test/data/write/simple.tar b/lib/tar/test/data/write/simple.tar Binary files differnew file mode 100644 index 0000000..a910daa --- /dev/null +++ b/lib/tar/test/data/write/simple.tar |