Mercurial > hg
comparison tests/test-unbundlehash.t @ 17539:bc7377160fa7
tests: enable more server tests on Windows
author | Patrick Mezard <patrick@mezard.eu> |
---|---|
date | Wed, 12 Sep 2012 22:21:54 +0200 |
parents | c5c9ca3719f9 |
children | 7a9cbb315d84 |
comparison
equal
deleted
inserted
replaced
17538:31ca918d539a | 17539:bc7377160fa7 |
---|---|
1 $ "$TESTDIR/hghave" serve || exit 80 | 1 $ "$TESTDIR/hghave" killdaemons || exit 80 |
2 | 2 |
3 Test wire protocol unbundle with hashed heads (capability: unbundlehash) | 3 Test wire protocol unbundle with hashed heads (capability: unbundlehash) |
4 | 4 |
5 Create a remote repository. | 5 Create a remote repository. |
6 | 6 |
28 Ensure hashed heads format is used. | 28 Ensure hashed heads format is used. |
29 The hash here is always the same since the remote repository only has the null head. | 29 The hash here is always the same since the remote repository only has the null head. |
30 | 30 |
31 $ cat access.log | grep unbundle | 31 $ cat access.log | grep unbundle |
32 * - - [*] "POST /?cmd=unbundle HTTP/1.1" 200 - x-hgarg-1:heads=686173686564+6768033e216468247bd031a0a2d9876d79818f8f (glob) | 32 * - - [*] "POST /?cmd=unbundle HTTP/1.1" 200 - x-hgarg-1:heads=686173686564+6768033e216468247bd031a0a2d9876d79818f8f (glob) |
33 | |
34 Explicitly kill daemons to let the test exit on Windows | |
35 | |
36 $ "$TESTDIR/killdaemons.py" $DAEMON_PIDS | |
37 |