tests: python executable should always be globbed
Similar to 4d93d73b8aec, the python executable could be python2.X, Python,
pypy, or maybe something futuristic like pyston or nuitka.
--- a/tests/test-install.t Tue Mar 22 16:08:02 2016 -0700
+++ b/tests/test-install.t Thu Mar 24 16:35:24 2016 -0700
@@ -7,7 +7,7 @@
checking installed modules (*mercurial)... (glob)
checking templates (*mercurial?templates)... (glob)
checking default template (*mercurial?templates?map-cmdline.default) (glob)
- checking commit editor... (*python* -c "import sys; sys.exit(0)") (glob)
+ checking commit editor... (* -c "import sys; sys.exit(0)") (glob)
checking username (test)
no problems detected
@@ -18,7 +18,7 @@
"defaulttemplate": "*mercurial?templates?map-cmdline.default", (glob)
"defaulttemplateerror": null,
"defaulttemplatenotfound": "default",
- "editor": "*python* -c \"import sys; sys.exit(0)\"", (glob)
+ "editor": "* -c \"import sys; sys.exit(0)\"", (glob)
"editornotfound": false,
"encoding": "ascii",
"encodingerror": null,
@@ -26,7 +26,7 @@
"hgmodules": "*mercurial", (glob)
"problems": 0,
"pythonexe": "*", (glob)
- "pythonlib": "*python*", (glob)
+ "pythonlib": "*", (glob)
"pythonver": "*.*.*", (glob)
"templatedirs": "*mercurial?templates", (glob)
"username": "test",
@@ -44,7 +44,7 @@
checking installed modules (*mercurial)... (glob)
checking templates (*mercurial?templates)... (glob)
checking default template (*mercurial?templates?map-cmdline.default) (glob)
- checking commit editor... (*python* -c "import sys; sys.exit(0)") (glob)
+ checking commit editor... (* -c "import sys; sys.exit(0)") (glob)
checking username...
no username supplied
(specify a username in your configuration file)
@@ -65,7 +65,7 @@
checking installed modules (*mercurial)... (glob)
checking templates (*mercurial?templates)... (glob)
checking default template (*mercurial?templates?map-cmdline.default) (glob)
- checking commit editor... (*python* -c "import sys; sys.exit(0)") (glob)
+ checking commit editor... (* -c "import sys; sys.exit(0)") (glob)
checking username (test)
no problems detected