From 70dec1c42e8e6b537f20c10f98a60ec5d0b67d8a Mon Sep 17 00:00:00 2001 From: Joseph Hunkeler Date: Tue, 20 Aug 2024 11:03:17 -0400 Subject: Dump output of indexed files --- tests/rt_generic.sh | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'tests') diff --git a/tests/rt_generic.sh b/tests/rt_generic.sh index fced08e..6da953d 100644 --- a/tests/rt_generic.sh +++ b/tests/rt_generic.sh @@ -72,6 +72,7 @@ pushd "$ws" retcode=$? set +x + echo "#### Files ####" find output for cond in "${fail_on_indexer[@]}"; do @@ -80,6 +81,17 @@ pushd "$ws" exit 1 fi done + + echo "#### Contents ####" + files=$(find output -type f \( -name '*.html' \) | sort) + for x in $files; do + echo + echo "FILENAME: $x" + echo + cat "$x" + echo "[EOF]" + echo + done popd rm -rf "$ws" -- cgit