Describe the bug
First of i want to say that i dont think that this is a BUG of bats-core!
Im running a Jenkins with linux-nodes and windows-nodes due to the nature of the ci which is running on both OS.
For this i have a gitbash as a substitute to execute shell scripts on Jenkins-Pipelines since i want my ci to share all the scripts on every OS.
When running bats under windows via git-bash it can happen that the git bash uses \system32\sort instead of /usr/bin/sort
To Reproduce
I cant really reproduce on my local machine. Only reproducing
Jenkins installation (with a node on windows + gitbash)
execute bats in pipeline with multible test files
Expected behavior
Use the sort of /usr/bin/sort when running under mingw
Environment (please complete the following information):
Bats-core v1.10.0
windows 10 Pro (1803)
GNU bash, version 4.4.23(1)-release (x86_64-pc-msys)
Additional context
Like i said i dont think this is a problem of bats itself. It can be fixed in bats itself tho.
Describe the bug First of i want to say that i dont think that this is a BUG of bats-core!
Im running a Jenkins with linux-nodes and windows-nodes due to the nature of the ci which is running on both OS. For this i have a gitbash as a substitute to execute shell scripts on Jenkins-Pipelines since i want my ci to share all the scripts on every OS.
When running bats under windows via git-bash it can happen that the git bash uses
\system32\sort
instead of/usr/bin/sort
To Reproduce I cant really reproduce on my local machine. Only reproducing
Expected behavior Use the sort of
/usr/bin/sort
when running under mingwEnvironment (please complete the following information):
Additional context Like i said i dont think this is a problem of bats itself. It can be fixed in bats itself tho.