Calling read 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 return code 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..f7444a6 100644 --- a/testcases/kernel/fs/proc/proc01.c +++ b/testcases/kernel/fs/proc/proc01.c @@ -87,6 +87,7 @@ const Mapping known_issues[] = { {"open", "/proc/sal/cmc/data", EBUSY}, {"open", "/proc/sal/init/data", EBUSY}, {"open", "/proc/sal/mca/data", EBUSY}, + {"read", "/proc/acpi/event", EAGAIN}, {"read", "/proc/kmsg", EAGAIN}, {"read", "/proc/sal/cpe/event", EAGAIN}, {"read", "/proc/sal/cmc/event", EAGAIN}, -- 1.7.11.7 ------------------------------------------------------------------------------ LogMeIn Central: Instant, anywhere, Remote PC access and management. Stay in control, update software, and manage PCs from one command center Diagnose problems and improve visibility into emerging IT issues Automate, monitor and manage. Do more in less time with Central http://p.sf.net/sfu/logmein12331_d2d _______________________________________________ Ltp-list mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ltp-list
