diff options
author | Tom de Vries <tdevries@suse.de> | 2022-06-16 15:11:26 +0200 |
---|---|---|
committer | Tom de Vries <tdevries@suse.de> | 2022-06-16 15:11:26 +0200 |
commit | f0d49de4be0ba22457f19c96ec2cfa787da5b507 (patch) | |
tree | 8a99d29be866ae9b71d8d83856a9bc1fb16818c1 /gprofng/src/ipc.cc | |
parent | 633de7089179f455d94d0fef54c68c298f545242 (diff) | |
download | gdb-f0d49de4be0ba22457f19c96ec2cfa787da5b507.zip gdb-f0d49de4be0ba22457f19c96ec2cfa787da5b507.tar.gz gdb-f0d49de4be0ba22457f19c96ec2cfa787da5b507.tar.bz2 |
[gdb/testsuite] Fix have_mpx test
When testing on openSUSE Leap 15.4 I ran into this FAIL:
...
FAIL: gdb.arch/i386-mpx-map.exp: NULL address of the pointer
...
and likewise for all the other mpx tests.
The problem is that have_mpx is supposed to return 0, but it doesn't because
it tries to match this output:
...
builtin_spawn -ignore SIGHUP temp/20294/have_mpx-2-20294.x^M
No MPX support^M
No MPX support^M
...
using:
...
&& ![string equal $output "No MPX support\r\n"]]
...
Fix this by matching using a regexp instead.
Tested on x86_64-linux.
Diffstat (limited to 'gprofng/src/ipc.cc')
0 files changed, 0 insertions, 0 deletions