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/pack_dir_root.sh.in | 23 ----------------------- 1 file changed, 23 deletions(-) delete mode 100755 tests/pack_dir_root.sh.in (limited to 'tests/pack_dir_root.sh.in') diff --git a/tests/pack_dir_root.sh.in b/tests/pack_dir_root.sh.in deleted file mode 100755 index ad0a085..0000000 --- a/tests/pack_dir_root.sh.in +++ /dev/null @@ -1,23 +0,0 @@ -#!/bin/sh - -set -e - -LICDIR="@abs_top_srcdir@/licenses" -REFFILE="@abs_top_srcdir@/tests/pack_dir_root.txt.ref" -GENSQFS="@abs_top_builddir@/gensquashfs" -RDSQFS="@abs_top_builddir@/rdsquashfs" -IMAGE="pack_dir_root.sqfs" -SED="@SED@" - -if [ ! -f "$GENSQFS" -a -f "${GENSQFS}.exe" ]; then - GENSQFS="${GENSQFS}.exe" - RDSQFS="${RDSQFS}.exe" -fi - -"$GENSQFS" --all-root --pack-dir "$LICDIR" --defaults mtime=0 \ - -c gzip -q "$IMAGE" - -"$RDSQFS" -l / "$IMAGE" | "$SED" 's/^-[rwx-]* //g' > "${IMAGE}.txt" - -diff "$REFFILE" "${IMAGE}.txt" -rm "$IMAGE" "${IMAGE}.txt" -- cgit v1.2.3