diff options
author | Sandra Loosemore <sandra@codesourcery.com> | 2020-07-16 14:03:09 -0700 |
---|---|---|
committer | Sandra Loosemore <sandra@codesourcery.com> | 2020-07-16 14:03:09 -0700 |
commit | 5597c9402d49a623e3fabecd7dfc0d2f9e0ff983 (patch) | |
tree | 7fc3cee457f75ebe3716552189144928c3de85bc /ld/ChangeLog | |
parent | d0ce17d8537fb51583891073abe18d5bb60c0c24 (diff) | |
download | gdb-5597c9402d49a623e3fabecd7dfc0d2f9e0ff983.zip gdb-5597c9402d49a623e3fabecd7dfc0d2f9e0ff983.tar.gz gdb-5597c9402d49a623e3fabecd7dfc0d2f9e0ff983.tar.bz2 |
Fix POSIX-isms in gdb.base/shell.exp
Some recent tests added to gdb.base/shell.exp have been failing on
Windows host due to assumptions that the shell is a POSIX variant. On
Windows, GDB uses CMD.EXE via the system() call to run shell commands
instead.
There seems to be no obvious CMD.EXE equivalent for "kill -2 $$" to
signal the shell process, so this patch skips those tests on Windows
host. The second problem addressed here is that CMD.EXE only
recognizes double quotes, not single quotes; that change can be made
unconditionally since POSIX shells recognize double quotes as well.
2020-07-16 Sandra Loosemore <sandra@codesourcery.com>
gdb/testsuite/
* gdb.base/shell.exp: Skip pipe tests dependent on sh on Windows host.
Use double quotes instead of single quotes.
Diffstat (limited to 'ld/ChangeLog')
0 files changed, 0 insertions, 0 deletions