Check-in [3401ce7545]

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:awk scripts
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 3401ce75458cff0e72866b437790bd4d80b0706b
User & Date: dsx 2014-11-12 14:00:15
Context
2014-11-12
14:02
fix awk script check-in: c5355989c5 user: dsx tags: trunk
14:00
awk scripts check-in: 3401ce7545 user: dsx tags: trunk
13:59
fix exit check-in: d47173b323 user: dsx tags: trunk
Changes

Added regression/dirlist.awk.







>
>
>
1
2
3
BEGIN { RS="\r\n" }
$1 == "Content-Length:" && $2 == 512 { print "Fail: " $0; fail=1; nextfile; }
END { if (!fail) { print "Ok"; } exit fail; }

Added regression/http.awk.







>
>
>
1
2
3
BEGIN { RS="\r\n" }
NR == 1 && $1 ~ /^HTTP\/1\../ && $2 != code { print "Fail: " $0; fail=1; nextfile; }
END { if (!fail) { print "Ok"; } exit fail; }