Skip to content

Commit

Permalink
Merge pull request #55 from pscollins/sleep-less
Browse files Browse the repository at this point in the history
lkl: Remove upper bound on nanosleep test
  • Loading branch information
Octavian Purdila committed Feb 1, 2016
2 parents 9c99f5a + 8c5a82e commit 5984dd4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/lkl/tests/boot.c
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ int test_nanosleep(char *str, int len)

snprintf(str, len, "%ld", delta);

if (ret == 0 && delta > sleep_ns * 0.9 && delta < sleep_ns * 1.1)
if (ret == 0 && delta > sleep_ns * 0.9)
return TEST_SUCCESS;

return TEST_FAILURE;
Expand Down

0 comments on commit 5984dd4

Please sign in to comment.