Skip to content
Commit 1214ec8f authored by Mike Frysinger's avatar Mike Frysinger
Browse files

tst-getcpu: decode errno when sched_getcpu fails



The tst-getcpu test is failing on ia64 platforms due to sched_getcpu
returning an error.  But the current test only considers -1 when it's
also ENOSYS.  Tweak the logic a bit to make the output clearer.

Signed-off-by: default avatarMike Frysinger <vapier@gentoo.org>
parent 3cc0cd4c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment