tests/test-bad-pull.t
author Martin von Zweigbergk <martinvonz@google.com>
Fri, 20 Nov 2020 10:22:58 -0800
changeset 45903 c9b14c56fc2b
parent 45858 ebee234d952a
permissions -rw-r--r--
tests: use new ParseError.format() in test-trusted.py Differential Revision: https://phab.mercurial-scm.org/D9351

#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