snips.sh

 1commit b04cae49a5e715e8046528e2035ec04bf6ef0700                                                                                                                                 
 2Author: Mark Brown <broonie@kernel.org>                                                                                                                                         
 3Date:   Wed Sep 27 12:18:58 2023 +0200                                                                                                                                          
 4
 5    selftests: timers: Convert posix_timers test to generate KTAP output
 6     
 7    [ Upstream commit 071af0c9e582bc47e379e39490a2bc1adfe4ec68 ]
 8     
 9    Currently the posix_timers test does not produce KTAP output but rather a
10    custom format. This means that we only get a pass/fail for the suite, not
11    for each individual test that the suite does. Convert to using the standard
12    kselftest output functions which result in KTAP output being generated.
13     
14    As part of this fix the printing of diagnostics in the unlikely event that
15    the pthread APIs fail, these were using perror() but the API functions
16    directly return an error code instead of setting errno.
17     
18    Signed-off-by: Mark Brown <broonie@kernel.org>
19    Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
20    Stable-dep-of: 6d029c25b71f ("selftests/timers/posix_timers: Reimplement check_timer_distribution()")
21    Signed-off-by: Sasha Levin <sashal@kernel.org>