From 50067dafdb36ac2a6cbdb0186fa22082cf424e9a Mon Sep 17 00:00:00 2001 From: David Oberhollenzer Date: Thu, 3 Sep 2020 17:01:32 +0200 Subject: Cleanup: reduce tar test cases to a few generic C files This commit removes the existing tar test cases that simply call the generic test case function with several different paths with generic test case source files that are parameneterized via the pro-processor. For each tar archive, a separate test case is generated. On the one hand, this reduces the test source code to practically nothing. On the other hand, a test binary is generated for every distinct test case, instead of one per group and we get more detailed insights if something goes wrong. Signed-off-by: David Oberhollenzer --- tests/tar_sparse_gnu.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'tests/tar_sparse_gnu.c') diff --git a/tests/tar_sparse_gnu.c b/tests/tar_sparse_gnu.c index fdeb53e..216a54a 100644 --- a/tests/tar_sparse_gnu.c +++ b/tests/tar_sparse_gnu.c @@ -44,7 +44,5 @@ int main(void) clear_header(&hdr); fclose(fp); - - test_case_sparse("sparse-files/gnu.tar"); return EXIT_SUCCESS; } -- cgit v1.2.3