run_regress.sh - webdump_tests - Testfiles for webdump
 (HTM) git clone git://git.codemadness.org/webdump_tests
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
       ---
       run_regress.sh (264B)
       ---
            1 #!/bin/sh
            2 
            3 bin1="$HOME/p/webdump/webdump"
            4 bin2="/tmp/webdump/webdump"
            5 
            6 find . -iname "*.html" | while read -r f; do
            7         "$bin1" < "$f" > /tmp/t1
            8         "$bin2" < "$f" > /tmp/t2
            9 
           10         if ! diff -u /tmp/t1 /tmp/t2; then
           11                 echo "difference for file: $f"
           12                 exit 1
           13         fi
           14 done
           15 
           16 exit 0