view tests/test-bad-pull.t @ 44615:78a8f65eacc8

run-tests: add --chg-debug flag to show chg debug output This has helped me a lot in debugging chg failures in tests.
author Pulkit Goyal <7895pulkit@gmail.com>
date Wed, 25 Mar 2020 13:20:08 +0530
parents 5abc47d4ca6b
children ebee234d952a
line wrap: on
line source

#require serve

  $ hg clone http://localhost:$HGPORT/ copy
  abort: * (glob)
  [255]

  $ test -d copy
  [1]

  $ "$PYTHON" "$TESTDIR/dumbhttp.py" -p $HGPORT --pid dumb.pid
  $ cat dumb.pid >> $DAEMON_PIDS
  $ hg clone http://localhost:$HGPORT/foo copy2
  abort: HTTP Error 404: * (glob)
  [255]
  $ killdaemons.py