testcases/kernel/include/...:
Add clock_gettime and clock_settime syscalls to all missing architecture .in files.

testcases/kernel/timers/...:

1. Improve upon reporting, as noted by Andrew Vagin.
2. Clean up the test because there was a lot of ad hoc reporting / stale data th
at already gets punted back by | TERRNO and syscall, as implemented by linux_sys
call_numbers.h, effectively simplifying the test(s) a LOT.
3. Shift -D_GNU_SOURCE from CFLAGS to CPPFLAGS.
4. Make sure we link against -lrt, like the manpage says:

SYNOPSIS
       #include <time.h>

       int clock_getres(clockid_t clk_id, struct timespec *res);

       int clock_gettime(clockid_t clk_id, struct timespec *tp);

       int clock_settime(clockid_t clk_id, const struct timespec *tp);

       Link with -lrt.

Signed-off-by: Garrett Cooper <yanegomi@gmail.com>
6 files changed