add simple regress test script - webdump_tests - Testfiles for webdump
 (HTM) git clone git://git.codemadness.org/webdump_tests
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
       ---
 (DIR) commit 3a41600f4563973ed7171984a0b4f5752345d51f
 (DIR) parent 837749abc02f28e1584e5f2cf2b274ae1c69d8e6
 (HTM) Author: Hiltjo Posthuma <hiltjo@codemadness.org>
       Date:   Thu, 11 Dec 2025 20:59:18 +0100
       
       add simple regress test script
       
       To test the difference of the HTML between 2 versions/binaries.
       
       Diffstat:
         A run_regress.sh                      |      16 ++++++++++++++++
       
       1 file changed, 16 insertions(+), 0 deletions(-)
       ---
 (DIR) diff --git a/run_regress.sh b/run_regress.sh
       @@ -0,0 +1,16 @@
       +#!/bin/sh
       +
       +bin1="$HOME/p/webdump/webdump"
       +bin2="/tmp/webdump/webdump"
       +
       +find . -iname "*.html" | while read -r f; do
       +        "$bin1" < "$f" > /tmp/t1
       +        "$bin2" < "$f" > /tmp/t2
       +
       +        if ! diff -u /tmp/t1 /tmp/t2; then
       +                echo "difference for file: $f"
       +                exit 1
       +        fi
       +done
       +
       +exit 0