Fix memcheck/tests/sendmsg on OS X
bz#345637
- Support the lowercase for of libsystem* in filter_libc script

Before:

== 590 tests, 238 stderr failures, 22 stdout failures, 0 stderrB failures, 0 stdoutB failures, 31 post failures ==

After:

== 590 tests, 237 stderr failures, 22 stdout failures, 0 stderrB failures, 0 stdoutB failures, 31 post failures ==


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15048 a5019735-40e9-0310-863c-91ae7b9d1cf9
diff --git a/NEWS b/NEWS
index f5e8adb..7077f9e 100644
--- a/NEWS
+++ b/NEWS
@@ -145,6 +145,7 @@
 344939  Fix memcheck/tests/xml1 on OS X 10.10
 345016  helgrind/tests/locked_vs_unlocked2 is failing sometimes
 345394  Fix memcheck/tests/strchr on OS X
+345637  Fix memcheck/tests/sendmsg on OS X
 n-i-bz  Provide implementations of certain compiler builtins to support
         compilers who may not provide those
 n-i-bz  Old STABS code is still being compiled, but never used. Remove it.
diff --git a/tests/filter_libc b/tests/filter_libc
index 46ba268..827af88 100755
--- a/tests/filter_libc
+++ b/tests/filter_libc
@@ -9,9 +9,11 @@
     s/ __GI___/ __/;
     s/ __([a-z]*)_nocancel / $1 /;
 
-    # "libSystem*" occurs on Darwin.
+    # "lib[S|s]ystem*" occurs on Darwin.
     s/\(in \/.*(libc|libSystem).*\)$/(in \/...libc...)/;
     s/\(within \/.*(libc|libSystem).*\)$/(within \/...libc...)/;
+    s/\(in \/.*(libc|libsystem).*\)$/(in \/...libc...)/;
+    s/\(within \/.*(libc|libsystem).*\)$/(within \/...libc...)/;
 
     # Filter out dynamic loader
     s/ \(in \/.*ld-.*so\)$//;