Calling open on /proc/acpi/event with O_NONBLOCK will return EAGAIN if the acpi bus event list is empty and no process is listening for events. This is a common errno if acpid is not running.
- Add EAGAIN to known issues list for /proc/acpi/event. Signed-off-by: David Mackey <[email protected]> --- testcases/kernel/fs/proc/proc01.c | 1 + 1 file changed, 1 insertion(+) diff --git a/testcases/kernel/fs/proc/proc01.c b/testcases/kernel/fs/proc/proc01.c index a6fb3d9..1c2b392 100644 --- a/testcases/kernel/fs/proc/proc01.c +++ b/testcases/kernel/fs/proc/proc01.c @@ -82,6 +82,7 @@ typedef struct mapping Mapping; like if SELinux is disabled, the test may still fail on some other entries. */ const Mapping known_issues[] = { + {"open", "/proc/acpi/event", EAGAIN}, {"open", "/proc/acpi/event", EBUSY}, {"open", "/proc/sal/cpe/data", EBUSY}, {"open", "/proc/sal/cmc/data", EBUSY}, -- 1.7.11.7 ------------------------------------------------------------------------------ WINDOWS 8 is here. Millions of people. Your app in 30 days. Visit The Windows 8 Center at Sourceforge for all your go to resources. http://windows8center.sourceforge.net/ join-generation-app-and-make-money-coding-fast/ _______________________________________________ Ltp-list mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ltp-list
