Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2019-05-30 | treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 166 | Thomas Gleixner | 1 | -2/+1 | |
Based on 1 normalized pattern(s): licensed under the terms of the gnu gpl license version 2 extracted by the scancode license scanner the SPDX license identifier GPL-2.0-only has been chosen to replace the boilerplate/reference in 62 file(s). Signed-off-by: Thomas Gleixner <[email protected]> Reviewed-by: Allison Randal <[email protected]> Reviewed-by: Kate Stewart <[email protected]> Reviewed-by: Richard Fontana <[email protected]> Cc: [email protected] Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]> | |||||
2016-09-20 | selftests/timers: Add missing error code assignment before test | Christophe JAILLET | 1 | -2/+2 | |
In order to work, the 'err' return value has to be updated otherwise the test can never be true. Signed-off-by: Christophe JAILLET <[email protected]> Acked-by: John Stultz <[email protected]> Signed-off-by: Shuah Khan <[email protected]> | |||||
2015-03-12 | selftests/timers: Quiet warning due to lack of return check on brk | John Stultz | 1 | -5/+4 | |
The posix_timers.c test has a loop that tries to keep it in kernel space, repeatedly calling brk(). However, it doesn't check the return value, which causes warnings. This patch adds a err value which captures the return value and modifies the test so it will quit if a failure occurs. Cc: Shuah Khan <[email protected]> Cc: Prarit Bhargava <[email protected]> Cc: Thomas Gleixner <[email protected]> Cc: Richard Cochran <[email protected]> Signed-off-by: John Stultz <[email protected]> Tested-by: Prarit Bhargava <[email protected]> Signed-off-by: Shuah Khan <[email protected]> | |||||
2014-11-17 | selftests/timers: change test to use ksft framework | Shuah Khan | 1 | -6/+8 | |
Change timers test to use kselftest framework to report test results. Signed-off-by: Shuah Khan <[email protected]> | |||||
2013-10-16 | tools/testing/selftests: fix uninitialized variable | Felipe Pena | 1 | -1/+1 | |
The err variable is intended to receive the timer_create() return before checking it Signed-off-by: Felipe Pena <[email protected]> Cc: Frederic Weisbecker <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]> | |||||
2013-07-03 | selftests: add basic posix timers selftests | Frederic Weisbecker | 1 | -0/+221 | |
Add some initial basic tests on a few posix timers interface such as setitimer() and timer_settime(). These simply check that expiration happens in a reasonable timeframe after expected elapsed clock time (user time, user + system time, real time, ...). This is helpful for finding basic breakages while hacking on this subsystem. Signed-off-by: Frederic Weisbecker <[email protected]> Cc: Stanislaw Gruszka <[email protected]> Cc: Thomas Gleixner <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Steven Rostedt <[email protected]> Cc: KOSAKI Motohiro <[email protected]> Cc: Olivier Langlois <[email protected]> Signed-off-by: Andrew Morton <[email protected]> |