Mercurial > hg-stable
comparison tests/test-url-download.t @ 46522:8214c71589f6
tests: print the server error log in `test-url-download.t`
There was a stray 500 error in CI, but no additional context to know what the
issue was.
https://foss.heptapod.net/octobus/mercurial-devel/-/jobs/163093
Differential Revision: https://phab.mercurial-scm.org/D9949
author | Matt Harbison <matt_harbison@yahoo.com> |
---|---|
date | Tue, 02 Feb 2021 10:56:53 -0500 |
parents | 05d415790761 |
children | 2d0daf9c9d5d |
comparison
equal
deleted
inserted
replaced
46521:1e26b882d704 | 46522:8214c71589f6 |
---|---|
32 Check other kind of compatible url | 32 Check other kind of compatible url |
33 | 33 |
34 $ hg debugdownload ./null.txt | 34 $ hg debugdownload ./null.txt |
35 1 0000000000000000000000000000000000000000 | 35 1 0000000000000000000000000000000000000000 |
36 | 36 |
37 $ cat ../error.log | |
38 | |
37 Test largefile URL | 39 Test largefile URL |
38 ------------------ | 40 ------------------ |
39 | 41 |
40 $ cat << EOF >> $HGRCPATH | 42 $ cat << EOF >> $HGRCPATH |
41 > [extensions] | 43 > [extensions] |
64 $ hg path | 66 $ hg path |
65 default = http://localhost:$HGPORT/ | 67 default = http://localhost:$HGPORT/ |
66 $ hg debugdownload "largefile://a57b57b39ee4dc3da1e03526596007f480ecdbe8" | 68 $ hg debugdownload "largefile://a57b57b39ee4dc3da1e03526596007f480ecdbe8" |
67 1 0000000000000000000000000000000000000000 | 69 1 0000000000000000000000000000000000000000 |
68 $ cd .. | 70 $ cd .. |
71 | |
72 $ cat error.log |