view tests/test-bad-pull.t @ 45938:f5d62f4d5327

rhg: check that .hg/requires is ASCII Differential Revision: https://phab.mercurial-scm.org/D9400
author Simon Sapin <simon-commits@exyr.org>
date Wed, 25 Nov 2020 12:33:37 +0100
parents ebee234d952a
children
line wrap: on
line source

#require serve

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

  $ 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)
  [100]
  $ killdaemons.py