tests/test-bad-pull.t
author Simon Sapin <simon-commits@exyr.org>
Wed, 02 Dec 2020 08:23:31 +0100
changeset 46034 0c02c2a0badb
parent 45839 ebee234d952a
permissions -rw-r--r--
rhg: add a test with persistent-nodemap Differential Revision: https://phab.mercurial-scm.org/D9519

#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