Re: [patch] gdb/testsuite: Fix POSIX-isms in gdb.base/shell.exp

Christian Biesinger
2020-06-25T17:32:55Z

On Wed, Jun 24, 2020 at 8:35 PM Sandra Loosemore
<sandra@codesourcery.com> wrote:
>
> This patch fixes a group of failures in gdb.base/shell.exp on Windows
> host due to assumptions that GDB is launching a POSIX-like shell. On
> Windows, we get CMD.EXE instead.

Hmm, if I call runtest/make check from an msys2 shell, do I really get
cmd.exe here? I ask because i wonder how many people run this from
cmd.exe as opposed to msys's shell, so it may be better to check for
cmd more specifically somehow (maybe $SHELL?)

Christian