view tests/test-bad-pull.t @ 46176:300f6e23882a

test-check-interface: do not expect bare "python" executable exists The test would crash if python executable had version suffix.
author Yuya Nishihara <yuya@tcha.org>
date Sat, 19 Dec 2020 12:01:58 +0900
parents ebee234d952a
children
line wrap: on
line source

#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