Some arches (s390x and ppc64) return ENOSYS instead of EINVAL for
undefined futex operations. Adjust the helgrind filter_stderr to
handle that case.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14375
-e "/^the cost of reduced accuracy of conflicting-access information$/d" \
-e "/pthread_create_WRK (hg_intercepts.c:/d" |
+# Some arches return ENOSYS instead of EINVAL for undefined futex operations.
+sed -e "s/with error code 38 (ENOSYS: Function not implemented)/with error code 22 (EINVAL: Invalid argument)/" |
+
$dir/../../helgrind/tests/filter_helgrind "$@"
exit 0