diff options
Diffstat (limited to 'tools/testing/selftests/timers/skew_consistency.c')
| -rw-r--r-- | tools/testing/selftests/timers/skew_consistency.c | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/tools/testing/selftests/timers/skew_consistency.c b/tools/testing/selftests/timers/skew_consistency.c index 63913f75b384..53ee5d710ff4 100644 --- a/tools/testing/selftests/timers/skew_consistency.c +++ b/tools/testing/selftests/timers/skew_consistency.c @@ -34,9 +34,7 @@ #include <fcntl.h> #include <string.h> #include <sys/wait.h> -#include "../kselftest.h" - -#define NSEC_PER_SEC 1000000000LL +#include "kselftest.h" int main(int argc, char **argv) { @@ -49,7 +47,7 @@ int main(int argc, char **argv) pid = fork(); if (!pid) - return system("./inconsistency-check -c 1 -t 600"); + return system("./inconsistency-check -t 60"); ppm = 500; ret = 0; @@ -70,8 +68,8 @@ int main(int argc, char **argv) if (ret) { printf("[FAILED]\n"); - return ksft_exit_fail(); + ksft_exit_fail(); } printf("[OK]\n"); - return ksft_exit_pass(); + ksft_exit_pass(); } |
