[PATCH] tests: python executable path should always be globbed

danek.duvall at oracle.com danek.duvall at oracle.com
Tue Mar 15 18:54:30 EDT 2016


# HG changeset patch
# User Danek Duvall <danek.duvall at oracle.com>
# Date 1458082257 25200
#      Tue Mar 15 15:50:57 2016 -0700
# Node ID c54f92f246b1d0d353d9327afa8664d0275d30ec
# Parent  99c113c701ef57c5b3165f35071bbb5517372683
tests: python executable path should always be globbed

Although this is coming in under the guise of consistency, part of the
desire for this is that at least as part of the official Solaris builds,
we build with a versioned python interpreter, such as "python2.7", which
doesn't match "*python".

diff --git a/tests/test-install.t b/tests/test-install.t
--- a/tests/test-install.t
+++ b/tests/test-install.t
@@ -25,7 +25,7 @@ hg debuginstall JSON
     "extensionserror": null,
     "hgmodules": "*mercurial", (glob)
     "problems": 0,
-    "pythonexe": "*python", (glob)
+    "pythonexe": "*", (glob)
     "pythonlib": "*python*", (glob)
     "pythonver": "*.*.*", (glob)
     "templatedirs": "*mercurial?templates", (glob)


More information about the Mercurial-devel mailing list