diff options
author | Tom de Vries <tdevries@suse.de> | 2020-12-16 21:32:59 +0100 |
---|---|---|
committer | Tom de Vries <tdevries@suse.de> | 2020-12-16 21:32:59 +0100 |
commit | 592995fadd37e3a8d831fc3f48994c9d5cc2a974 (patch) | |
tree | 097367b62ef3cddbe040f8b8357f81a959679748 /ltoptions.m4 | |
parent | d6f26c9d2852286c0ff8053a1b6e688ae1ba0793 (diff) | |
download | gdb-592995fadd37e3a8d831fc3f48994c9d5cc2a974.zip gdb-592995fadd37e3a8d831fc3f48994c9d5cc2a974.tar.gz gdb-592995fadd37e3a8d831fc3f48994c9d5cc2a974.tar.bz2 |
[gdb/testsuite] Fix prompt regexp in batch-preserve-term-settings.exp
On openSUSE Leap 15.2, when running test-case
gdb.base/batch-preserve-term-settings.exp I get:
...
spawn /bin/sh^M
PS1="gdb-subshell$ "^M
sh-4.4$ PS1="gdb-subshell$ "^M
gdb-subshell$ PASS: gdb.base/batch-preserve-term-settings.exp: batch run: \
spawn shell
...
but on Ubuntu 18.04.5, I get instead:
...
spawn /bin/sh^M
PS1="gdb-subshell$ "^M
$ gdb-subshell$ FAIL: gdb.base/batch-preserve-term-settings.exp: batch run: \
spawn shell (timeout)
...
Fix this by making the regexp recognize the second pattern as well.
Tested on x86_64-linux.
gdb/testsuite/ChangeLog:
2020-12-16 Tom de Vries <tdevries@suse.de>
* gdb.base/batch-preserve-term-settings.exp:
Diffstat (limited to 'ltoptions.m4')
0 files changed, 0 insertions, 0 deletions