git bash uses windows binary 'sort' instead of mingw64 #773
Labels
Component: Bash Code
Everything regarding the bash code
Priority: High
Broken behavior in specific environments like in parallel mode or only on some operating systems
Size: Large
Changes across several files
Status: Unconfirmend
No reproducer was provided or the reproducer did not work for maintainers.
Type: Bug
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.
The text was updated successfully, but these errors were encountered: