tests/test-bad-pull.t
author Boris Feld <boris.feld@octobus.net>
Sat, 09 Feb 2019 01:22:20 +0100
changeset 41641 e857dbb02dc3
parent 39707 5abc47d4ca6b
child 45839 ebee234d952a
permissions -rw-r--r--
test: use `printenv.py --line` in `test-https.t` This makes the output easier to update and read.

#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