Mercurial > hg-stable
changeset 38063: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 |
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 Fri Apr 27 21:54:37 2018 +0530 +++ b/tests/test-clone-uncompressed.t Tue May 15 11:52:43 2018 -0700 @@ -1,4 +1,4 @@ -#require serve no-reposimplestore +#require serve no-reposimplestore no-chg #testcases stream-legacy stream-bundle2
--- a/tests/test-clonebundles.t Fri Apr 27 21:54:37 2018 +0530 +++ b/tests/test-clonebundles.t Tue May 15 11:52:43 2018 -0700 @@ -1,4 +1,4 @@ -#require no-reposimplestore +#require no-reposimplestore no-chg Set up a server
--- a/tests/test-http-api-httpv2.t Fri Apr 27 21:54:37 2018 +0530 +++ b/tests/test-http-api-httpv2.t Tue May 15 11:52:43 2018 -0700 @@ -1,3 +1,5 @@ +#require no-chg + $ . $TESTDIR/wireprotohelpers.sh $ enabledummycommands
--- a/tests/test-http-api.t Fri Apr 27 21:54:37 2018 +0530 +++ b/tests/test-http-api.t Tue May 15 11:52:43 2018 -0700 @@ -1,3 +1,5 @@ +#require no-chg + $ send() { > hg --verbose debugwireproto --peer raw http://$LOCALIP:$HGPORT/ > }
--- a/tests/test-http-protocol.t Fri Apr 27 21:54:37 2018 +0530 +++ b/tests/test-http-protocol.t Tue May 15 11:52:43 2018 -0700 @@ -1,3 +1,5 @@ +#require no-chg + $ . $TESTDIR/wireprotohelpers.sh $ cat >> $HGRCPATH << EOF
--- a/tests/test-lfs-largefiles.t Fri Apr 27 21:54:37 2018 +0530 +++ b/tests/test-lfs-largefiles.t Tue May 15 11:52:43 2018 -0700 @@ -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 Fri Apr 27 21:54:37 2018 +0530 +++ b/tests/test-lfs-serve-access.t Tue May 15 11:52:43 2018 -0700 @@ -1,4 +1,4 @@ -#require serve no-reposimplestore +#require serve no-reposimplestore no-chg $ cat >> $HGRCPATH <<EOF > [extensions]
--- a/tests/test-lfs-serve.t Fri Apr 27 21:54:37 2018 +0530 +++ b/tests/test-lfs-serve.t Tue May 15 11:52:43 2018 -0700 @@ -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 Fri Apr 27 21:54:37 2018 +0530 +++ b/tests/test-lfs-test-server.t Tue May 15 11:52:43 2018 -0700 @@ -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 Fri Apr 27 21:54:37 2018 +0530 +++ b/tests/test-lfs.t Tue May 15 11:52:43 2018 -0700 @@ -1,4 +1,4 @@ -#require no-reposimplestore +#require no-reposimplestore no-chg # Initial setup
--- a/tests/test-parseindex.t Fri Apr 27 21:54:37 2018 +0530 +++ b/tests/test-parseindex.t Tue May 15 11:52:43 2018 -0700 @@ -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 Fri Apr 27 21:54:37 2018 +0530 +++ b/tests/test-pull-bundle.t Tue May 15 11:52:43 2018 -0700 @@ -1,3 +1,5 @@ +#require no-chg + $ hg init repo $ cd repo $ echo foo > foo
--- a/tests/test-push-http.t Fri Apr 27 21:54:37 2018 +0530 +++ b/tests/test-push-http.t Tue May 15 11:52:43 2018 -0700 @@ -1,3 +1,5 @@ +#require no-chg + #testcases bundle1 bundle2 #if bundle1