diff options
author | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2023-01-31 11:30:46 +0100 |
---|---|---|
committer | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2023-01-31 18:04:25 +0100 |
commit | 72c8155d9fc0eaeac72c053f46ebb7b231d4596a (patch) | |
tree | 5758865289c52fa93f56e3fe743bb40c283c5233 /tests/rdsquashfs | |
parent | cdccc69c62579b0c13b35fad0728079652b8f3c9 (diff) |
Reintegrate test code with library code
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'tests/rdsquashfs')
-rw-r--r-- | tests/rdsquashfs/Makemodule.am | 7 | ||||
-rw-r--r-- | tests/rdsquashfs/pathtraversal.sh.in | 12 | ||||
-rw-r--r-- | tests/rdsquashfs/pathtraversal.sqfs | bin | 4096 -> 0 bytes |
3 files changed, 0 insertions, 19 deletions
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 Binary files differdeleted file mode 100644 index 0c33bb3..0000000 --- a/tests/rdsquashfs/pathtraversal.sqfs +++ /dev/null |