[#5659] [ltp] ltp test case eventfd01 fail

Document created by Aaronwu Employee on Sep 5, 2013
Version 1Show Document
  • View in full screen mode

[#5659] [ltp] ltp test case eventfd01 fail

Submitted By: Vivi Li

Open Date

2009-11-04 04:18:32     Close Date

2009-11-12 04:00:16

Priority:

Medium     Assignee:

Graf Yang

Status:

Closed     Fixed In Release:

N/A

Found In Release:

2010R1     Release:

Category:

Tests     Board:

N/A

Processor:

ALL     Silicon Revision:

Is this bug repeatable?:

Yes     Resolution:

Fixed

Uboot version or rev.:

    Toolchain version or rev.:

gcc4.1-09r1-rc9

App binary format:

N/A     

Summary: [ltp] ltp test case eventfd01 fail

Details:

 

ltp test case eventfd01 fail.

This is not a regression result. This case is not tested before.

 

During ltp test, it fails to build eventfd01.c with trunk toolchain due to fork error, I change fork to FORK_OR_VFORK, and here is the result of running eventfd01.

--

root:/> eventfd01

eventfd01    1  BROK  :  error creating eventfd: Function not implemented

eventfd01    2  BROK  :  Remaining cases broken

eventfd01    3  BROK  :  Remaining cases broken

eventfd01    4  BROK  :  Remaining cases broken

eventfd01    5  BROK  :  Remaining cases broken

eventfd01    6  BROK  :  Remaining cases broken

eventfd01    7  BROK  :  Remaining cases broken

eventfd01    8  BROK  :  Remaining cases broken

eventfd01    9  BROK  :  Remaining cases broken

eventfd01   10  BROK  :  Remaining cases broken

eventfd01   11  BROK  :  Remaining cases broken

eventfd01   12  BROK  :  Remaining cases broken

eventfd01   13  BROK  :  Remaining cases broken

eventfd01   14  BROK  :  Remaining cases broken

eventfd01   15  BROK  :  Remaining cases broken

root:/>

--

 

Follow-ups

 

--- Graf Yang                                                2009-11-10 03:58:03

If enabled eventfd, and change fork to vfork(patch attached), the test can

pass.

General setup  ---> [*] Configure standard kernel features (for small

systems)  ---> [*]   Enable eventfd() system call

 

 

root:/ltp> ./eventfd01

eventfd01    1  PASS  :  counter value matches required

eventfd01    2  PASS  :  read failed with EAGAIN as expected

eventfd01    3  PASS  :  counter value matches required

eventfd01    4  PASS  :  write failed with EAGAIN as expected

eventfd01    5  PASS  :  read failed with EINVAL as expected

eventfd01    6  PASS  :  write failed with EINVAL as expected

eventfd01    7  PASS  :  write failed with EINVAL as expected

eventfd01    8  PASS  :  fd is set in readfds

eventfd01    9  PASS  :  fd is not set in readfds

eventfd01   10  PASS  :  fd is set in writefds

eventfd01   11  PASS  :  fd is not set in writefds

eventfd01   12  PASS  :  counter value write from child successful

eventfd01   13  CONF  :  eventfd support is not available in AIO subsystem

eventfd01   14  CONF  :  eventfd support is not available in AIO subsystem

eventfd01   15  CONF  :  eventfd support is not available in AIO subsystem

 

--- Vivi Li                                                  2009-11-12 04:00:16

eventfd01 is ok now and enabled in ltp test. timerfd01 is also enabled.

Close this bug.

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

eventfd01-fork.patch    application/octet-stream    486    Graf Yang

Attachments

Outcomes