From b635c78530d5d7f27f9805790c1f7ca227959177 Mon Sep 17 00:00:00 2001 From: David Oberhollenzer Date: Sun, 12 Feb 2023 12:28:40 +0100 Subject: libtar: Add a test for the tar writing code Generate a simple tarball and compare it with a reference. Signed-off-by: David Oberhollenzer --- lib/tar/test/data/CREDITS | 4 ++++ lib/tar/test/data/write/simple.tar | Bin 0 -> 10240 bytes 2 files changed, 4 insertions(+) create mode 100644 lib/tar/test/data/write/simple.tar (limited to 'lib/tar/test/data') 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 new file mode 100644 index 0000000..a910daa Binary files /dev/null and b/lib/tar/test/data/write/simple.tar differ -- cgit v1.2.3