ltp
ltp copied to clipboard
Fix/create tests for posix timers
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
.
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
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 we have timer_settime test about signal handler, they are in open_posix_testsuite/functional/timers/timers.
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 the timer tests are now part of the syscalls runtest file.
timer_gettime01 already converted to new test library by d02fab2c6c timer_settime01.c case also found in /kernel/syscalls/timer_settime/