]> sourceware.org Git - glibc.git/commit
Report error if setaffinity wrapper fails (Bug 32040) master
authorCarlos O'Donell <carlos@redhat.com>
Thu, 15 Aug 2024 12:12:35 +0000 (08:12 -0400)
committerCarlos O'Donell <carlos@redhat.com>
Thu, 15 Aug 2024 19:28:48 +0000 (15:28 -0400)
commitb22923abb046311ac9097a36b97b9b97342bac44
treed25c3a010ffb2bde606298b8fca1242a46fceda0
parent3e1d8d1d1dca24ae90df2ea826a8916896fc7e77
Report error if setaffinity wrapper fails (Bug 32040)

Previously if the setaffinity wrapper failed the rest of the subtest
would not execute and the current subtest would be reported as passing.
Now if the setaffinity wrapper fails the subtest is correctly reported
as faling. Tested manually by changing the conditions of the affinity
call including setting size to zero, or checking the wrong condition.

No regressions on x86_64.

Reviewed-by: Florian Weimer <fweimer@redhat.com>
sysdeps/unix/sysv/linux/tst-skeleton-affinity.c
This page took 0.040729 seconds and 5 git commands to generate.