tests: add hg10 requirement to test-check-module-imports.t
authorAnton Shestakov <av6@dwimlabs.net>
Fri, 27 May 2022 14:33:32 +0400
changeset 49235 72ff7cd05176
parent 49233 520722523955
child 49236 e5e3a340b965
tests: add hg10 requirement to test-check-module-imports.t This requirement exists to make sure for hg has locate command, which is used in this test file for getting a list of files to check. Since in theory current versions of tests could be run on older hg, it doesn't hurt to mark even this version requirement (as old as it is). See also: a29f071751df.
tests/test-check-module-imports.t
--- a/tests/test-check-module-imports.t	Sun May 22 00:10:58 2022 +0200
+++ b/tests/test-check-module-imports.t	Fri May 27 14:33:32 2022 +0400
@@ -1,4 +1,4 @@
-#require test-repo
+#require test-repo hg10
 
   $ . "$TESTDIR/helpers-testrepo.sh"
   $ import_checker="$TESTDIR"/../contrib/import-checker.py