diff options
author | Pádraig Brady <P@draigBrady.com> | 2013-12-08 21:43:49 +0000 |
---|---|---|
committer | Pádraig Brady <P@draigBrady.com> | 2013-12-09 09:28:29 +0000 |
commit | 042780801c9ca765b633acc9dc7aebfa649fdbb1 (patch) | |
tree | 3bb1a0e270beb8cc4ddc3b48a860a750c74032a2 /gnulib | |
parent | 402e8ecbc4bf3b3fe866338e77e21feceac910f0 (diff) | |
download | coreutils-042780801c9ca765b633acc9dc7aebfa649fdbb1.tar.xz |
tests: fix false failure due to gdb inline function handling
Inline functions are awkward to breakpoint as mentioned at:
https://sourceware.org/bugzilla/show_bug.cgi?id=10738
The normal case here was for the breakpoint on the inline function
to fail, resulting in a 10s delay before skipping the test.
However on GCC 4.7.2 on ppc64 at least it was seen that
the test failed erroneously due to the breakpoint being successfully
set on an "out of line" function, but an inline function was
actually being called.
* tests/tail-2/inotify-race.sh: Switch to a line based breakpoint,
rather than a symbol base one, which avoids issues with breakpoints
on inline functions. Also skip_ on the initial breakpoint check
in case the breakpoint is not traversed which would be the case
on remote file systems for example.
Diffstat (limited to 'gnulib')
0 files changed, 0 insertions, 0 deletions