tests/test-bad-pull.t
author Martin von Zweigbergk <martinvonz@google.com>
Mon, 11 Jan 2021 10:53:42 -0800
changeset 46294 d3b226b6c8c6
parent 45839 ebee234d952a
permissions -rw-r--r--
shelve: inline ".patch" constant now that it's only used in the Shelf class Differential Revision: https://phab.mercurial-scm.org/D9741

#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