Skip to content
Snippets Groups Projects
  • Katsunori FUJIWARA's avatar
    fe612ab5eeff
    tests: use "?" to glob both ":" and ";" in output for test portability · fe612ab5eeff
    Katsunori FUJIWARA authored
    If environment variable looks like PATH or so (e.g. any of components
    joined by ":" contains "/"), ":" in it is replaced with ";" by MinGW
    at spawning Windows native process, to follow path concatenation style
    of Windows.
    
    Therefore, "bundle:../full.hg" is converted into "bundle;..\full.hg"
    on MinGW.
    
    Difference between "/" and "\" is automatically ignored by "(glob)",
    but difference between ":" and ";" should be globed explicitly.
    fe612ab5eeff
    History
    tests: use "?" to glob both ":" and ";" in output for test portability
    Katsunori FUJIWARA authored
    If environment variable looks like PATH or so (e.g. any of components
    joined by ":" contains "/"), ":" in it is replaced with ";" by MinGW
    at spawning Windows native process, to follow path concatenation style
    of Windows.
    
    Therefore, "bundle:../full.hg" is converted into "bundle;..\full.hg"
    on MinGW.
    
    Difference between "/" and "\" is automatically ignored by "(glob)",
    but difference between ":" and ";" should be globed explicitly.