Mercurial > hg > mercurial-source
changeset 38807:538e850ae737
tests: mark tests that fail when using chg as #require no-chg
As far as I can tell, most of these failures are due to using $HGPORT, which it
seems chg might be using itself? I don't know enough to debug these failures to
fix them properly.
Differential Revision: https://phab.mercurial-scm.org/D3562
author | Kyle Lippincott <spectral@google.com> |
---|---|
date | Tue, 15 May 2018 11:52:43 -0700 (2018-05-15) |
parents | 9d44c71bd892 |
children | 48853a927757 |
files | tests/test-clone-uncompressed.t tests/test-clonebundles.t tests/test-http-api-httpv2.t tests/test-http-api.t tests/test-http-protocol.t tests/test-lfs-largefiles.t tests/test-lfs-serve-access.t tests/test-lfs-serve.t tests/test-lfs-test-server.t tests/test-lfs.t tests/test-parseindex.t tests/test-pull-bundle.t tests/test-push-http.t tests/test-ssh-proto.t tests/test-wireproto-command-capabilities.t |
diffstat | 15 files changed, 23 insertions(+), 7 deletions(-) [+] |
line wrap: on
line diff
--- a/tests/test-clone-uncompressed.t +++ b/tests/test-clone-uncompressed.t @@ -1,4 +1,4 @@ -#require serve no-reposimplestore +#require serve no-reposimplestore no-chg #testcases stream-legacy stream-bundle2
--- a/tests/test-clonebundles.t +++ b/tests/test-clonebundles.t @@ -1,4 +1,4 @@ -#require no-reposimplestore +#require no-reposimplestore no-chg Set up a server
--- a/tests/test-http-api-httpv2.t +++ b/tests/test-http-api-httpv2.t @@ -1,3 +1,5 @@ +#require no-chg + $ . $TESTDIR/wireprotohelpers.sh $ enabledummycommands
--- a/tests/test-http-api.t +++ b/tests/test-http-api.t @@ -1,3 +1,5 @@ +#require no-chg + $ send() { > hg --verbose debugwireproto --peer raw http://$LOCALIP:$HGPORT/ > }
--- a/tests/test-http-protocol.t +++ b/tests/test-http-protocol.t @@ -1,3 +1,5 @@ +#require no-chg + $ . $TESTDIR/wireprotohelpers.sh $ cat >> $HGRCPATH << EOF
--- a/tests/test-lfs-largefiles.t +++ b/tests/test-lfs-largefiles.t @@ -1,4 +1,4 @@ -#require no-reposimplestore +#require no-reposimplestore no-chg This tests the interaction between the largefiles and lfs extensions, and conversion from largefiles -> lfs.
--- a/tests/test-lfs-serve-access.t +++ b/tests/test-lfs-serve-access.t @@ -1,4 +1,4 @@ -#require serve no-reposimplestore +#require serve no-reposimplestore no-chg $ cat >> $HGRCPATH <<EOF > [extensions]
--- a/tests/test-lfs-serve.t +++ b/tests/test-lfs-serve.t @@ -1,5 +1,5 @@ #testcases lfsremote-on lfsremote-off -#require serve no-reposimplestore +#require serve no-reposimplestore no-chg This test splits `hg serve` with and without using the extension into separate tests cases. The tests are broken down as follows, where "LFS"/"No-LFS"
--- a/tests/test-lfs-test-server.t +++ b/tests/test-lfs-test-server.t @@ -1,4 +1,4 @@ -#require no-reposimplestore +#require no-reposimplestore no-chg #testcases git-server hg-server #if git-server
--- a/tests/test-lfs.t +++ b/tests/test-lfs.t @@ -1,4 +1,4 @@ -#require no-reposimplestore +#require no-reposimplestore no-chg # Initial setup
--- a/tests/test-parseindex.t +++ b/tests/test-parseindex.t @@ -1,3 +1,5 @@ +#require no-chg + revlog.parseindex must be able to parse the index file even if an index entry is split between two 64k blocks. The ideal test would be to create an index file with inline data where
--- a/tests/test-pull-bundle.t +++ b/tests/test-pull-bundle.t @@ -1,3 +1,5 @@ +#require no-chg + $ hg init repo $ cd repo $ echo foo > foo
--- a/tests/test-push-http.t +++ b/tests/test-push-http.t @@ -1,3 +1,5 @@ +#require no-chg + #testcases bundle1 bundle2 #if bundle1