• Naresh Kamboju's avatar
    selftests: futex: print testcase-name and PASS/FAIL/ERROR status · 1f666e52
    Naresh Kamboju authored
    Most of the tests under selftests follow a pattern for their results,
    which can then be parsed easily by other external tools easily. Though
    futex tests do print the test results very well, it doesn't really
    follow the general selftests pattern.
    
    This patch makes necessary changes to fix that.
    
    Output before this patch:
    futex_requeue_pi: Test requeue functionality
            Arguments: broadcast=0 locked=0 owner=0 timeout=0ns
    Result:  PASS
    
    Output after this patch:
    futex_requeue_pi: Test requeue functionality
            Arguments: broadcast=0 locked=0 owner=0 timeout=0ns
    selftests: futex-requeue-pi [PASS]
    Signed-off-by: default avatarNaresh Kamboju <naresh.kamboju@linaro.org>
    Signed-off-by: default avatarShuah Khan <shuahkh@osg.samsung.com>
    1f666e52
futex_wait_timeout.c 2.14 KB