tests/test-bad-pull.t
author Augie Fackler <augie@google.com>
Wed, 02 Mar 2022 10:07:49 -0500
changeset 48918 1371c18e467d
parent 45858 ebee234d952a
permissions -rw-r--r--
setup: remove printf trampoline Differential Revision: https://phab.mercurial-scm.org/D12271

#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