[CRIU] [PATCH] zdtm: POSIX timers migration test
Stanislav Kinsbursky
skinsbursky at parallels.com
Wed Oct 10 06:32:54 EDT 2012
This test set up two posix timers with different clocks: REALTIME and MONOTONIC.
Both send signals.
Signals are disabled before suspend. This makes overrun counters increasing.
After restore tests enables signals, and make sure, that:
1) signal handler for both timers was called with proper arguments
2) time displacement for both timers is not greater than 10 percent.
10.10.2012 13:45, Kinsbursky Stanislav пишет:
> From: Stanislav Kinsbursky <skinsbursky at openvz.org>
>
> It creates two timers: realtime and monotonic.
>
> Signed-off-by: Stanislav Kinsbursky <skinsbursky at openvz.org>
> ---
> test/zdtm/live/static/Makefile | 2
> test/zdtm/live/static/posix_timers.c | 213 ++++++++++++++++++++++++++++++++++
> 2 files changed, 215 insertions(+), 0 deletions(-)
> create mode 100644 test/zdtm/live/static/posix_timers.c
>
--
Best regards,
Stanislav Kinsbursky
More information about the CRIU
mailing list