view tests/test-bad-pull.t @ 43291:a973a75e92bf

py3: add Python 3 exception output to test-hook.t This is similar to, e.g., 3e9c6cef949b.
author Denis Laxalde <denis.laxalde@logilab.fr>
date Fri, 18 Oct 2019 11:44:44 +0200
parents 5abc47d4ca6b
children ebee234d952a
line wrap: on
line source

#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