]> git.ipfire.org Git - thirdparty/coreutils.git/commit
tests: avoid false failure in rm/r-root.sh with gdb warnings
authorPádraig Brady <P@draigBrady.com>
Thu, 15 Oct 2015 09:22:20 +0000 (10:22 +0100)
committerPádraig Brady <P@draigBrady.com>
Thu, 15 Oct 2015 10:55:18 +0000 (11:55 +0100)
commit3a68c3e99065fd17436260889fe821caa19a855e
tree85bec3af1f52854c199385d0ea7bbddcf189c19d
parent2366daf725574b0ebfde9308c969b000a6707fc8
tests: avoid false failure in rm/r-root.sh with gdb warnings

* tests/rm/r-root.sh: Skip the test if there are gdb warnings
that will impact further stderr checks.  For example some
buggy gdb versions may report "Got object file from memory
but can't read symbols: File truncated".  Also fix an incorrect
stderr check from the previous change.
Reported by Bernhard Voelker.
tests/rm/r-root.sh