Annotation of parser3/tests/httpd/run_tests.sh, revision 1.3

1.1       moko        1: #!/bin/sh
                      2: 
                      3: rm -f tests.log
                      4: 
1.2       moko        5: for f in $(ls ???.txt ???.curl | sort)
1.1       moko        6: do
                      7:     echo "running test $f" | tee -a tests.log
1.2       moko        8:     case "$f" in
                      9:         *.txt)
                     10:             cat "$f" |netcat localhost 8100 >>tests.log
                     11:             ;;
                     12:         *.curl)
                     13:             curl -s --config "$f" http://localhost:8100/form.html >> tests.log
                     14:             ;;
                     15:     esac
1.3     ! moko       16:     echo "" >>tests.log
        !            17:     echo "=============" >>tests.log
1.1       moko       18: done
                     19: 
                     20: diff -u ok.log tests.log

E-mail: