Date: Thu, 28 Mar 2019 20:24:11 +0000 From: bugzilla-noreply@freebsd.org To: testing@freebsd.org Subject: [Bug 236857] Fix sysctl check for some sys/audit/process-control tests Message-ID: <bug-236857-32464-bEO2VQlX7F@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-236857-32464@https.bugs.freebsd.org/bugzilla/> References: <bug-236857-32464@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D236857 --- Comment #2 from Olivier Cochard <olivier@freebsd.org> --- Created attachment 203222 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D203222&action= =3Dedit patch (with errno) to skip tests if kernel build without CAPABILITIES Ok, here is a patch with errno support. But I don't understand what is the purpose of errno here, because it didn't give very useful information ? Output with this -errno version patch applied: # kyua test sys/audit/process-control:cap_enter_success sys/audit/process-control:cap_enter_success -> skipped: sysctl for kern.features.security_capability_mode failed: No such file or directory=20 [0.003s] Results file id is usr_tests.20190328-201847-910402 Results saved to /root/.kyua/store/results.usr_tests.20190328-201847-910402= .db 1/1 passed (0 failed) =3D> The 'No such file or directory' seems misleading for me, because the m= essage is about a sysctl. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-236857-32464-bEO2VQlX7F>