##// END OF EJS Templates
test-http-branchmap: enable on Windows...
Patrick Mezard -
r17467:448d0c45 default
parent child Browse files
Show More
@@ -118,6 +118,9 b' def has_fifo():'
118 except OSError:
118 except OSError:
119 return False
119 return False
120
120
121 def has_killdaemons():
122 return True
123
121 def has_cacheable_fs():
124 def has_cacheable_fs():
122 from mercurial import util
125 from mercurial import util
123
126
@@ -286,6 +289,7 b' checks = {'
286 "hardlink": (has_hardlink, "hardlinks"),
289 "hardlink": (has_hardlink, "hardlinks"),
287 "icasefs": (has_icasefs, "case insensitive file system"),
290 "icasefs": (has_icasefs, "case insensitive file system"),
288 "inotify": (has_inotify, "inotify extension support"),
291 "inotify": (has_inotify, "inotify extension support"),
292 "killdaemons": (has_killdaemons, 'killdaemons.py support'),
289 "lsprof": (has_lsprof, "python lsprof module"),
293 "lsprof": (has_lsprof, "python lsprof module"),
290 "mtn": (has_mtn, "monotone client (>= 1.0)"),
294 "mtn": (has_mtn, "monotone client (>= 1.0)"),
291 "outer-repo": (has_outer_repo, "outer repo"),
295 "outer-repo": (has_outer_repo, "outer repo"),
@@ -1,7 +1,10 b''
1 $ "$TESTDIR/hghave" serve || exit 80
1 $ "$TESTDIR/hghave" killdaemons || exit 80
2
2
3 $ hgserve() {
3 $ hgserve() {
4 > hg serve -a localhost -p $HGPORT1 -d --pid-file=hg.pid -E errors.log -v $@
4 > hg serve -a localhost -p $HGPORT1 -d --pid-file=hg.pid \
5 > -E errors.log -v $@ > startup.log
6 > # Grepping hg serve stdout would hang on Windows
7 > grep -v 'listening at' startup.log
5 > cat hg.pid >> "$DAEMON_PIDS"
8 > cat hg.pid >> "$DAEMON_PIDS"
6 > }
9 > }
7 $ hg init a
10 $ hg init a
@@ -12,7 +15,6 b''
12 $ hg -R a ci -Am foo
15 $ hg -R a ci -Am foo
13 adding foo
16 adding foo
14 $ hgserve -R a --config web.push_ssl=False --config web.allow_push=* --encoding latin1
17 $ hgserve -R a --config web.push_ssl=False --config web.allow_push=* --encoding latin1
15 listening at http://*:$HGPORT1/ (bound to 127.0.0.1:$HGPORT1) (glob)
16 $ hg --encoding utf-8 clone http://localhost:$HGPORT1 b
18 $ hg --encoding utf-8 clone http://localhost:$HGPORT1 b
17 requesting all changes
19 requesting all changes
18 adding changesets
20 adding changesets
@@ -52,7 +54,7 b''
52 date: Thu Jan 01 00:00:00 1970 +0000
54 date: Thu Jan 01 00:00:00 1970 +0000
53 summary: foo
55 summary: foo
54
56
55 $ kill `cat hg.pid`
57 $ "$TESTDIR/killdaemons.py" hg.pid
56
58
57 verify 7e7d56fe4833 (encoding fallback in branchmap to maintain compatibility with 1.3.x)
59 verify 7e7d56fe4833 (encoding fallback in branchmap to maintain compatibility with 1.3.x)
58
60
General Comments 0
You need to be logged in to leave comments. Login now