2014-10-16 08:48:51 +04:00
|
|
|
#require serve killdaemons
|
2011-11-07 06:24:53 +04:00
|
|
|
|
2012-06-19 19:05:04 +04:00
|
|
|
#if windows
|
|
|
|
$ hg clone http://localhost:$HGPORT/ copy
|
|
|
|
abort: * (glob)
|
|
|
|
[255]
|
|
|
|
#else
|
2010-08-14 04:39:39 +04:00
|
|
|
$ hg clone http://localhost:$HGPORT/ copy
|
|
|
|
abort: error: Connection refused
|
2010-09-17 02:51:32 +04:00
|
|
|
[255]
|
2012-06-19 19:05:04 +04:00
|
|
|
#endif
|
2010-08-14 04:39:39 +04:00
|
|
|
|
2011-11-16 06:45:14 +04:00
|
|
|
$ test -d copy
|
|
|
|
[1]
|
2010-08-14 04:39:39 +04:00
|
|
|
|
2014-10-16 08:48:51 +04:00
|
|
|
$ python "$TESTDIR/dumbhttp.py" -p $HGPORT --pid dumb.pid
|
|
|
|
$ cat dumb.pid >> $DAEMON_PIDS
|
2012-04-01 23:23:55 +04:00
|
|
|
$ hg clone http://localhost:$HGPORT/foo copy2
|
|
|
|
abort: HTTP Error 404: * (glob)
|
|
|
|
[255]
|
2015-06-08 22:55:40 +03:00
|
|
|
$ killdaemons.py
|