diff options
author | Thomas Haller <thaller@redhat.com> | 2020-09-07 16:20:43 +0200 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2020-09-07 16:50:44 +0200 |
commit | 2cb40f6e36ce8db8257b07e15fe1bb9a47ce64f3 (patch) | |
tree | b2c16998c6abee45be36e4ce732c7cf64094d44f /tools | |
parent | ad55cf86e89a2a03e938f9374f481aa5d94bd40a (diff) |
tests: ignore valgrind warning about unhandled syscalls
On Fedora rawhide (34), valgrind gives a lot of warnings like:
./src/platform/tests/test-cleanup-linux.valgrind-log:--48279-- WARNING: unhandled amd64-linux syscall: 439
./src/platform/tests/test-cleanup-linux.valgrind-log:--48279-- You may be able to write your own handler.
./src/platform/tests/test-cleanup-linux.valgrind-log:--48279-- Read the file README_MISSING_SYSCALL_OR_IOCTL.
./src/platform/tests/test-cleanup-linux.valgrind-log:--48279-- Nevertheless we consider this a bug. Please report
./src/platform/tests/test-cleanup-linux.valgrind-log:--48279-- it at http://valgrind.org/support/bug_reports.html.
Ignore them.
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/run-nm-test.sh | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/tools/run-nm-test.sh b/tools/run-nm-test.sh index 4df3ab962f..5a6247cfc9 100755 --- a/tools/run-nm-test.sh +++ b/tools/run-nm-test.sh @@ -310,13 +310,19 @@ if [ $HAS_ERRORS -eq 0 ]; then # valgrind doesn't support setns syscall and spams the logfile. # hack around it... case "$TEST_NAME" in + 'test-acd' | \ + 'test-address-linux' | \ + 'test-cleanup-linux' | \ 'test-config' | \ 'test-link-linux' | \ - 'test-acd' | \ - 'test-service-providers' | \ + 'test-lldp' | \ + 'test-nm-client' | \ + 'test-platform-general' | \ 'test-remote-settings-client' | \ + 'test-route-linux' | \ 'test-secret-agent' | \ - 'test-nm-client' ) + 'test-service-providers' | \ + 'test-tc-linux' ) if [ -z "$(sed -e '/^--[0-9]\+-- WARNING: unhandled .* syscall: /,/^--[0-9]\+-- it at http.*\.$/d' "$LOGFILE")" ]; then HAS_ERRORS=1 fi |