From: Earnie <ea...@us...> - 2011-12-26 15:23:10
|
Eli Zaretskii wrote: > The MSYS Bash and the associated MSYS tools work well for configuring > and building MinGW ports (thanks!), but I bumped into an issue when > running the resulting executables from the MSYS Bash. I know that > doing so is asking for trouble, but it is hard to avoid when running > test suites that are part of the packages you just built. > > A case in point is GNU Grep 2.10: running its test suite after > building the MinGW port fails two test (bre and ere) due to a conflict > with globbing command lines between Bash and the grep.exe executable > just built. The problem is that MinGW executables glob the command > line in their startup code, and so commands like this: > > echo '*' | grep '*' > > fail. This fails because grep.exe gets a literal "*" (without > quotes), and globs it in its startup code, which is not what the test > wants. > Google for "CRT_noglob mingw" > Disabling globbing in the MSYS shell completely for the duration of > the test run is not a good idea, because other shell scripts may fail > due to that. > Won't help if you turn off the shell globbing. Windows globs in the startup code of the process. -- Earnie -- https://sites.google.com/site/earnieboyd/ |