tests/test-bad-pull.t
author Mathias De Mare <mathias.de_mare@nokia.com>
Mon, 04 Nov 2019 07:40:32 +0100
branchstable
changeset 43404 a69772d2f3c3
parent 39707 5abc47d4ca6b
child 45839 ebee234d952a
permissions -rw-r--r--
packaging: allow choosing python version depending on centos version Differential Revision: https://phab.mercurial-scm.org/D7217

#require serve

  $ 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