##// END OF EJS Templates
test-http: use sed instead of fixed-with cut for reading access.log...
Augie Fackler -
r29564:db565a50 default
parent child Browse files
Show More
@@ -234,7 +234,7 b' test http authentication'
234 remote: added 1 changesets with 1 changes to 1 files
234 remote: added 1 changesets with 1 changes to 1 files
235 $ hg rollback -q
235 $ hg rollback -q
236
236
237 $ cut -c38- ../access.log
237 $ sed 's/.*] "/"/' < ../access.log
238 "GET /?cmd=capabilities HTTP/1.1" 200 -
238 "GET /?cmd=capabilities HTTP/1.1" 200 -
239 "GET /?cmd=lookup HTTP/1.1" 200 - x-hgarg-1:key=tip
239 "GET /?cmd=lookup HTTP/1.1" 200 - x-hgarg-1:key=tip
240 "GET /?cmd=listkeys HTTP/1.1" 401 - x-hgarg-1:namespace=namespaces
240 "GET /?cmd=listkeys HTTP/1.1" 401 - x-hgarg-1:namespace=namespaces
@@ -225,7 +225,7 b' test http authentication'
225 remote: added 1 changesets with 1 changes to 1 files
225 remote: added 1 changesets with 1 changes to 1 files
226 $ hg rollback -q
226 $ hg rollback -q
227
227
228 $ cut -c38- ../access.log
228 $ sed 's/.*] "/"/' < ../access.log
229 "GET /?cmd=capabilities HTTP/1.1" 200 -
229 "GET /?cmd=capabilities HTTP/1.1" 200 -
230 "GET /?cmd=lookup HTTP/1.1" 200 - x-hgarg-1:key=tip
230 "GET /?cmd=lookup HTTP/1.1" 200 - x-hgarg-1:key=tip
231 "GET /?cmd=listkeys HTTP/1.1" 401 - x-hgarg-1:namespace=namespaces
231 "GET /?cmd=listkeys HTTP/1.1" 401 - x-hgarg-1:namespace=namespaces
General Comments 0
You need to be logged in to leave comments. Login now