tests: print the server error log in `test-url-download.t`
authorMatt Harbison <matt_harbison@yahoo.com>
Tue, 02 Feb 2021 10:56:53 -0500
changeset 46460 8214c71589f6
parent 46456 1e26b882d704
child 46461 f3f4d1b7dc97
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
tests/test-url-download.t
--- a/tests/test-url-download.t	Tue Feb 02 15:35:58 2021 +0100
+++ b/tests/test-url-download.t	Tue Feb 02 10:56:53 2021 -0500
@@ -34,6 +34,8 @@
   $ hg debugdownload ./null.txt
   1 0000000000000000000000000000000000000000
 
+  $ cat ../error.log
+
 Test largefile URL
 ------------------
 
@@ -66,3 +68,5 @@
   $ hg debugdownload "largefile://a57b57b39ee4dc3da1e03526596007f480ecdbe8"
   1 0000000000000000000000000000000000000000
   $ cd ..
+
+  $ cat error.log