tests: skip the new test in presence of buggy valgrind

* testsuite/invalid-mb-seq-UMR.sh: Upon failure due to a
valgrind-internal assertion, skip this test.
Reported by Norihiro Tanaka in http://debbugs.gnu.org/20490
This commit is contained in:
Jim Meyering committed 2015-05-07 08:04:48 -07:00
1 parent 4c75f64068
commit af342f7233
1 file changed
+5
+5
View File
@@ -26,6 +26,11 @@ echo bC > exp || framework_failure_
LC_ALL=ja_JP.eucJP valgrind --quiet --error-exitcode=1 \
sed -e 's/a/b\U\xb2c/' in > out 2> err || fail=1
# Work around a bug in CentOS 5.10's valgrind
# FIXME: remove in 2018 or when CentOS 5 is no longer officially supported
grep 'valgrind: .*Assertion.*failed' err > /dev/null \
&& skip_ 'you seem to have a buggy version of valgrind'
compare exp out || fail=1
compare /dev/null err || fail=1