linux-test-project / ltp

Linux Test Project (mailing list: https://lists.linux.it/listinfo/ltp)
https://linux-test-project.readthedocs.io/
GNU General Public License v2.0
2.31k stars 1.01k forks source link

about :opclock_settime/speculative /4-4.c #1158

Closed chenguanxi12138 closed 4 months ago

chenguanxi12138 commented 4 months ago

When I run the use case clock_settime_speculative_4-4.run-test on my embedded device,I get the following output: Caught signal Caught signal Caught signal FAIL: Didn't catch timer after TIMERINTERVAL. Caught 0 < 2 signals Implementation does not repeat signals on clock reset Caught signal

Is this a bug?or is the implementation of my system's timer not as expected

metan-ucw commented 4 months ago

No idea. However notice the speculative in the test name, the test tries to assert something that is not required by POSIX and may not be implemented as the test expects. You would have to read the kernel timer source code to understand if the test assertions are valid for the implementation you run the test on.