All of lore.kernel.org
 help / color / mirror / Atom feed
* [LTP] [PATCH] proc01: Add EAGAIN to known issues for acpi/event
@ 2012-11-02 22:21 David Mackey
  2012-11-05 12:32 ` chrubis
  0 siblings, 1 reply; 4+ messages in thread
From: David Mackey @ 2012-11-02 22:21 UTC (permalink / raw)
  To: ltp-list

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 <tdmackey@twitter.com>
---
 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
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [LTP] [PATCH] proc01: Add EAGAIN to known issues for acpi/event
  2012-11-02 22:21 [LTP] [PATCH] proc01: Add EAGAIN to known issues for acpi/event David Mackey
@ 2012-11-05 12:32 ` chrubis
  0 siblings, 0 replies; 4+ messages in thread
From: chrubis @ 2012-11-05 12:32 UTC (permalink / raw)
  To: David Mackey; +Cc: ltp-list

Hi!
> 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.

Commited, thanks.

-- 
Cyril Hrubis
chrubis@suse.cz

------------------------------------------------------------------------------
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
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [LTP] [PATCH] proc01: Add EAGAIN to known issues for acpi/event
  2012-10-28  8:38 David Mackey
@ 2012-10-28 20:48 ` David Mackey
  0 siblings, 0 replies; 4+ messages in thread
From: David Mackey @ 2012-10-28 20:48 UTC (permalink / raw)
  To: ltp-list


[-- Attachment #1.1: Type: text/plain, Size: 1089 bytes --]

On Sun, Oct 28, 2012 at 1:38 AM, David Mackey <tdmackey@twitter.com> wrote:

> 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 <tdmackey@twitter.com>
> ---
>  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
>
>
Please discard. Will resubmit.

[-- Attachment #1.2: Type: text/html, Size: 1640 bytes --]

[-- Attachment #2: Type: text/plain, Size: 299 bytes --]

------------------------------------------------------------------------------
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/

[-- Attachment #3: Type: text/plain, Size: 155 bytes --]

_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [LTP] [PATCH] proc01: Add EAGAIN to known issues for acpi/event
@ 2012-10-28  8:38 David Mackey
  2012-10-28 20:48 ` David Mackey
  0 siblings, 1 reply; 4+ messages in thread
From: David Mackey @ 2012-10-28  8:38 UTC (permalink / raw)
  To: ltp-list

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 <tdmackey@twitter.com>
---
 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
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-11-05 12:35 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-11-02 22:21 [LTP] [PATCH] proc01: Add EAGAIN to known issues for acpi/event David Mackey
2012-11-05 12:32 ` chrubis
  -- strict thread matches above, loose matches on Subject: below --
2012-10-28  8:38 David Mackey
2012-10-28 20:48 ` David Mackey

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.