view tests/test-bad-pull.t @ 49052:34cdad07d06d

test: deal with changed error message on python 3.10 Differential Revision: https://phab.mercurial-scm.org/D12493
author Julien Cristau <jcristau@debian.org>
date Mon, 11 Apr 2022 11:14:55 +0200
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