From 72c8155d9fc0eaeac72c053f46ebb7b231d4596a Mon Sep 17 00:00:00 2001 From: David Oberhollenzer Date: Tue, 31 Jan 2023 11:30:46 +0100 Subject: Reintegrate test code with library code Signed-off-by: David Oberhollenzer --- tests/rdsquashfs/Makemodule.am | 7 ------- tests/rdsquashfs/pathtraversal.sh.in | 12 ------------ tests/rdsquashfs/pathtraversal.sqfs | Bin 4096 -> 0 bytes 3 files changed, 19 deletions(-) delete mode 100644 tests/rdsquashfs/Makemodule.am delete mode 100644 tests/rdsquashfs/pathtraversal.sh.in delete mode 100644 tests/rdsquashfs/pathtraversal.sqfs (limited to 'tests/rdsquashfs') diff --git a/tests/rdsquashfs/Makemodule.am b/tests/rdsquashfs/Makemodule.am deleted file mode 100644 index 615b891..0000000 --- a/tests/rdsquashfs/Makemodule.am +++ /dev/null @@ -1,7 +0,0 @@ -if WINDOWS -else -check_SCRIPTS += tests/rdsquashfs/pathtraversal.sh -TESTS += tests/rdsquashfs/pathtraversal.sh -endif - -EXTRA_DIST += $(top_srcdir)/tests/rdsquashfs/pathtraversal.sqfs diff --git a/tests/rdsquashfs/pathtraversal.sh.in b/tests/rdsquashfs/pathtraversal.sh.in deleted file mode 100644 index 6dd9fab..0000000 --- a/tests/rdsquashfs/pathtraversal.sh.in +++ /dev/null @@ -1,12 +0,0 @@ -#!/bin/sh - -RDSQFS="@abs_top_builddir@/rdsquashfs" -REFFILE="@abs_top_srcdir@/tests/rdsquashfs/pathtraversal.sqfs" -GOTCHA="/tmp/gotcha.txt" - -if "$RDSQFS" -u / -p . "$REFFILE"; then - if [ -e "$GOTCHA" ]; then - echo "Found $GOTCHA which should not be there" - exit 1 - fi -fi diff --git a/tests/rdsquashfs/pathtraversal.sqfs b/tests/rdsquashfs/pathtraversal.sqfs deleted file mode 100644 index 0c33bb3..0000000 Binary files a/tests/rdsquashfs/pathtraversal.sqfs and /dev/null differ -- cgit v1.2.3