# HG changeset patch
# User Pierre-Yves David <pierre-yves.david@octobus.net>
# Date 2022-01-18 20:29:43
# Node ID 089cb4d6af5a22c2040553b84d61f804be566183
# Parent  348d2c6b50485508cebead5967938f09c15e8c77

test-http-bad-server: move the extension in `testlib`

This seems like a better location for it.

Differential Revision: https://phab.mercurial-scm.org/D12036

diff --git a/tests/test-check-code.t b/tests/test-check-code.t
--- a/tests/test-check-code.t
+++ b/tests/test-check-code.t
@@ -33,7 +33,7 @@ New errors are not allowed. Warnings are
   Skipping contrib/packaging/hgpackaging/wix.py it has no-che?k-code (glob)
   Skipping i18n/polib.py it has no-che?k-code (glob)
   Skipping mercurial/statprof.py it has no-che?k-code (glob)
-  Skipping tests/badserverext.py it has no-che?k-code (glob)
+  Skipping tests/testlib/badserverext.py it has no-che?k-code (glob)
 
 @commands in debugcommands.py should be in alphabetical order.
 
diff --git a/tests/test-http-bad-server.t b/tests/test-http-bad-server.t
--- a/tests/test-http-bad-server.t
+++ b/tests/test-http-bad-server.t
@@ -30,7 +30,7 @@ and because debugging partial responses 
 
   $ cat > .hg/hgrc << EOF
   > [extensions]
-  > badserver = $TESTDIR/badserverext.py
+  > badserver = $TESTDIR/testlib/badserverext.py
   > [server]
   > compressionengines = none
   > EOF
diff --git a/tests/badserverext.py b/tests/testlib/badserverext.py
rename from tests/badserverext.py
rename to tests/testlib/badserverext.py