• N
    selftests: futex: print testcase-name and PASS/FAIL/ERROR status · 1f666e52
    Naresh Kamboju 提交于
    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: NNaresh Kamboju <naresh.kamboju@linaro.org>
    Signed-off-by: NShuah Khan <shuahkh@osg.samsung.com>
    1f666e52
futex_wait_timeout.c 2.1 KB