view tests/test-bad-pull.t @ 36339:a4d41ba4ad23

verify: don't reimplement any() Differential Revision: https://phab.mercurial-scm.org/D2372
author Martin von Zweigbergk <martinvonz@google.com>
date Tue, 06 Feb 2018 08:49:37 -0800
parents 75be14993fda
children b4b7427b5786
line wrap: on
line source

#require serve killdaemons

  $ 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