From a487eec3e3e7c1c5552d17acd0db8cd5dcc59fc7 Mon Sep 17 00:00:00 2001 From: David Oberhollenzer Date: Sun, 27 Nov 2022 10:32:13 +0100 Subject: Continue cleanup of the test cases - Force all tests into their proper sub directory - Temporarily remove the corpora tests. They have been used for regression tests before releases and are disabled by default, so we should not ship them either. A script should be added for that, downloading what is needed. - The "pack a directory" test is also removed. It was rather hacky and there already is a test case for the fstree_from_dir function, which isn't ideal either. Something should be added to the regression test suite. Signed-off-by: David Oberhollenzer --- tests/gensquashfs/fstree_from_dir.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'tests/gensquashfs') diff --git a/tests/gensquashfs/fstree_from_dir.c b/tests/gensquashfs/fstree_from_dir.c index 2799bf3..3aad1c6 100644 --- a/tests/gensquashfs/fstree_from_dir.c +++ b/tests/gensquashfs/fstree_from_dir.c @@ -235,12 +235,6 @@ static void check_hierarchy(tree_node_t *root, bool recursive) TEST_NULL(n->data.dir.children); } - n = n->next; - TEST_NOT_NULL(n); - TEST_STR_EQUAL(n->name, "sqfs.sha512"); - TEST_ASSERT(S_ISREG(n->mode)); - TEST_ASSERT(n->parent == root); - n = n->next; TEST_NOT_NULL(n); TEST_STR_EQUAL(n->name, "user-group-largenum"); -- cgit v1.2.3