mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-02-26 12:20:38 +01:00
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.
(cherry picked from commit 2cb40f6e36)
(cherry picked from commit 561bd7bba6)
(cherry picked from commit 09b5a72b0f)
(cherry picked from commit e815592919)
(cherry picked from commit 8fb90c00d0)
This commit is contained in:
parent
324029c7e4
commit
3bef60c370
1 changed files with 12 additions and 7 deletions
|
|
@ -297,16 +297,21 @@ if [ $HAS_ERRORS -eq 0 ]; then
|
|||
# valgrind doesn't support setns syscall and spams the logfile.
|
||||
# hack around it...
|
||||
case "$TEST_NAME" in
|
||||
'libnm-test-nm-client' | \
|
||||
'libnm-test-remote-settings-client' | \
|
||||
'libnm-test-secret-agent' | \
|
||||
'test-acd' | \
|
||||
'test-address-linux' | \
|
||||
'test-cleanup-linux' | \
|
||||
'test-config' | \
|
||||
'test-link-linux' | \
|
||||
'test-acd' | \
|
||||
'test-service-providers' | \
|
||||
'test-remote-settings-client' | \
|
||||
'test-secret-agent' | \
|
||||
'test-lldp' | \
|
||||
'test-nm-client' | \
|
||||
'libnm-test-remote-settings-client' | \
|
||||
'libnm-test-nm-client' | \
|
||||
'libnm-test-secret-agent' )
|
||||
'test-platform-general' | \
|
||||
'test-remote-settings-client' | \
|
||||
'test-route-linux' | \
|
||||
'test-secret-agent' | \
|
||||
'test-service-providers' )
|
||||
if [ -z "$(sed -e '/^--[0-9]\+-- WARNING: unhandled .* syscall: /,/^--[0-9]\+-- it at http.*\.$/d' "$LOGFILE")" ]; then
|
||||
HAS_ERRORS=1
|
||||
fi
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue