Hi,


I have found

timer_creat04.c*
*

*clock_gettime03.c*


****

Test cases FAILED on 2.6.29 kernels.



Because there changes in kernels when u compare with the old kernels.

They have added below lines.



Linux/kernel/posix-timers.c


static int no_timer_create(struct k_itimer *new_timer)

{

return -EOPNOTSUPP;

}

 Earlier its use to give EINVAL but its reporting EOPNOTSUPP.



Results.



<<<test_start>>>

tag=timer_create04 stime=1236174726 tv_sec=1236174726 tv_usec=985656

cmdline="timer_create04"

contacts=""

analysis=exit

initiation_status="ok"

<<<test_output>>>

timer_create04    1  FAIL  :  timer_create(2) failed to produce expected
error; 22 , errno : EINVAL and got 95

timer_create04    2  PASS  :  timer_create(2) expected failure; Got errno -
EINVAL : Invalid parameter

timer_create04    3  PASS  :  timer_create(2) expected failure; Got errno -
EFAULT : Bad address

timer_create04    4  PASS  :  timer_create(2) expected failure; Got errno -
EFAULT : Bad address

timer_create04    5  PASS  :  timer_create(2) expected failure; Got errno -
EFAULT : Bad address

timer_create04    6  PASS  :  timer_create(2) expected failure; Got errno -
EFAULT : Bad address

<<<execution_status>>>

duration=0 duration_micro_sec=14891 termination_type=exited termination_id=1
corefile=no

cutime=0 cstime=3

<<<test_end>>>







<<<test_start>>>

tag=clock_gettime03 stime=1236174726 tv_sec=1236174726 tv_usec=798733

cmdline="clock_gettime03"

contacts=""

analysis=exit

initiation_status="ok"

<<<test_output>>>

clock_gettime03    1  PASS  :  clock_gettime(2) expected failure; Got errno
- EFAULT : Bad address

clock_gettime03    2  PASS  :  clock_gettime(2) expected failure; Got errno
- EFAULT : Bad address

clock_gettime03    3  FAIL  :  clock_gettime(2) failed to produce expected
error; 22 , errno : EINVAL and got 0

clock_gettime03    4  PASS  :  clock_gettime(2) expected failure; Got errno
- EINVAL : Invalid parameter

clock_gettime03    5  PASS  :  clock_gettime(2) expected failure; Got errno
- EFAULT : Bad address

clock_gettime03    6  PASS  :  clock_gettime(2) expected failure; Got errno
- EFAULT : Bad address

<<<execution_status>>>

duration=0 duration_micro_sec=13326 termination_type=exited termination_id=1
corefile=no

cutime=0 cstime=1

<<<test_end>>>




However, there are updates in kernels.

Because of that I am not sure to change the testcases.



please review the same.


Thanks & regards

Naresh Kamboju
------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to