# HG changeset patch # User Augie Fackler # Date 1523473031 14400 # Node ID 165a77f7ec132170d47d0728384607b9c48dbd64 # Parent 192b7ad06932682fa7f87e44f10a85bfabb4f7a7 tests: load showstack in test-pull-http.t so network hangs are easier to find This also gives us some minimal "it loads" coverage on showstack, which I rather like. showstack doesn't work on Windows per mbarbison, so it's disabled there. I added this in service of debugging a hang introduced on Python 3 by revision a88d68dc3ee8. I'm still not sure what the problem there is, but this at least gives us a little bit of a chance to figure out what's going on. Differential Revision: https://phab.mercurial-scm.org/D3247 diff -r 192b7ad06932 -r 165a77f7ec13 tests/test-pull-http.t --- a/tests/test-pull-http.t Wed Apr 11 14:39:49 2018 -0400 +++ b/tests/test-pull-http.t Wed Apr 11 14:57:11 2018 -0400 @@ -1,5 +1,16 @@ #require killdaemons +#if no-windows +For debugging: this is a pretty simple test that is a good candidate +for tracking down network-related bugs. Sometimes a command in this +hangs, so having showstack pre-loaded is sometimes helpful. This also +gives us a test that at least proves showstack can be loaded. + $ cat >> $HGRCPATH < [extensions] + > showstack = $TESTDIR/../contrib/showstack.py + > EOF +#endif + $ hg init test $ cd test $ echo a > a