# HG changeset patch # User Sean Farley # Date 1458862524 25200 # Node ID 60ee2593a2706fa6a799493c98fc622ca8adc819 # Parent 776fd2e2cf5a92a9cea9f36003054cee069206f3 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. diff -r 776fd2e2cf5a -r 60ee2593a270 tests/test-install.t --- 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