ltp icon indicating copy to clipboard operation
ltp copied to clipboard

Fix/create tests for posix timers

Open metan-ucw opened this issue 6 years ago • 6 comments

There are some posix timer tests in testcases/kernel/timers/ that should be cleaned up and converted to the new library. These also does not seem to test newly added clock IDs starting at CLOCK_BOOTTIME.

metan-ucw avatar Jan 30 '19 15:01 metan-ucw

Hi Metan-ucw,

In the latest code base of LTP, in path testcases/kernel, there is no folder named timers. Timer related syscalls I can see in path testcases/kernel/syscalls, Are you talking about the same?

Thanks, Prachi

Prachi9974830195 avatar Aug 23 '19 07:08 Prachi9974830195

This has been actually started by Rafael and finshed by Christian just few weeks ago, but they forgotten to coment here.

See 0051eab232e7f777f435945b1aba8911f203d65b 9ab730420dbf513b44cb0c0a733e8ef2a46cbcdd 02a1e6b1404efe330a2b7157f69ed5365002183f 5ff4656949e2d1db09259d52742981c891014976 7ca336031a86d7b3bce5b6bf7ffc02ac26c801a3 fadc7eb845429bf44339a6fe813c5cb6d67d904c

But there are still a few things that haven't been done yet namely:

  • timer_gettime01 has to be converted to new test library

  • timer_settime tests are still missing a test that checks that the timer will invoke the signal handler correctly

metan-ucw avatar Aug 23 '19 12:08 metan-ucw

@metan-ucw we have timer_settime test about signal handler, they are in open_posix_testsuite/functional/timers/timers.

xuyang0410 avatar Mar 20 '20 12:03 xuyang0410

How to run timers test's now from runltp script, getting errors as file is missing in runtest folder now onwards after its removed from kernel/timers

AYUSHJAIN951 avatar Aug 22 '22 06:08 AYUSHJAIN951

@AYUSHJAIN951 the timer tests are now part of the syscalls runtest file.

metan-ucw avatar Aug 22 '22 09:08 metan-ucw

timer_gettime01 already converted to new test library by d02fab2c6c timer_settime01.c case also found in /kernel/syscalls/timer_settime/

coolgw avatar Oct 26 '23 00:10 coolgw