# HG changeset patch # User Kyle Lippincott # Date 1526410363 25200 # Node ID 538e850ae73745c55bbb7da1ee3659c21a315688 # Parent 9d44c71bd892efb3a4407678d5bc77213861c159 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 diff -r 9d44c71bd892 -r 538e850ae737 tests/test-clone-uncompressed.t --- 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 diff -r 9d44c71bd892 -r 538e850ae737 tests/test-clonebundles.t --- 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 diff -r 9d44c71bd892 -r 538e850ae737 tests/test-http-api-httpv2.t --- 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 diff -r 9d44c71bd892 -r 538e850ae737 tests/test-http-api.t --- 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/ > } diff -r 9d44c71bd892 -r 538e850ae737 tests/test-http-protocol.t --- 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 diff -r 9d44c71bd892 -r 538e850ae737 tests/test-lfs-largefiles.t --- 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. diff -r 9d44c71bd892 -r 538e850ae737 tests/test-lfs-serve-access.t --- 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 < [extensions] diff -r 9d44c71bd892 -r 538e850ae737 tests/test-lfs-serve.t --- 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" diff -r 9d44c71bd892 -r 538e850ae737 tests/test-lfs-test-server.t --- 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 diff -r 9d44c71bd892 -r 538e850ae737 tests/test-lfs.t --- 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 diff -r 9d44c71bd892 -r 538e850ae737 tests/test-parseindex.t --- 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 diff -r 9d44c71bd892 -r 538e850ae737 tests/test-pull-bundle.t --- 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 diff -r 9d44c71bd892 -r 538e850ae737 tests/test-push-http.t --- 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 diff -r 9d44c71bd892 -r 538e850ae737 tests/test-ssh-proto.t --- a/tests/test-ssh-proto.t Fri Apr 27 21:54:37 2018 +0530 +++ b/tests/test-ssh-proto.t Tue May 15 11:52:43 2018 -0700 @@ -1,3 +1,5 @@ +#require no-chg + $ cat > hgrc-sshv2 << EOF > %include $HGRCPATH > [experimental] diff -r 9d44c71bd892 -r 538e850ae737 tests/test-wireproto-command-capabilities.t --- a/tests/test-wireproto-command-capabilities.t Fri Apr 27 21:54:37 2018 +0530 +++ b/tests/test-wireproto-command-capabilities.t Tue May 15 11:52:43 2018 -0700 @@ -1,3 +1,5 @@ +#require no-chg + $ . $TESTDIR/wireprotohelpers.sh $ hg init server