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

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.1       moko       16:     echo "\n=============" >>tests.log
                     17: done
                     18: 
                     19: diff -u ok.log tests.log

E-mail: