tests/common-pattern.py
changeset 36385 003ae586a02e
parent 35806 ab239e3de23b
child 36924 03368431f014
equal deleted inserted replaced
36384:caa3d42f616d 36385:003ae586a02e
    67      br'remote-changegroup%3Dhttp%2Chttps',
    67      br'remote-changegroup%3Dhttp%2Chttps',
    68      # (replacement patterns)
    68      # (replacement patterns)
    69      br'$USUAL_BUNDLE2_CAPS_SERVER$'
    69      br'$USUAL_BUNDLE2_CAPS_SERVER$'
    70      ),
    70      ),
    71     # HTTP log dates
    71     # HTTP log dates
    72     (br' - - \[\d\d/.../2\d\d\d \d\d:\d\d:\d\d] "GET',
    72     (br' - - \[\d\d/.../2\d\d\d \d\d:\d\d:\d\d] "(GET|PUT|POST)',
    73      br' - - [$LOGDATE$] "GET'
    73      lambda m: br' - - [$LOGDATE$] "' + m.group(1)
    74     ),
    74     ),
    75     # Windows has an extra '/' in the following lines that get globbed away:
    75     # Windows has an extra '/' in the following lines that get globbed away:
    76     #   pushing to file:/*/$TESTTMP/r2 (glob)
    76     #   pushing to file:/*/$TESTTMP/r2 (glob)
    77     #   comparing with file:/*/$TESTTMP/r2 (glob)
    77     #   comparing with file:/*/$TESTTMP/r2 (glob)
    78     #   sub/maybelarge.dat: largefile 34..9c not available from
    78     #   sub/maybelarge.dat: largefile 34..9c not available from