OSDN Git Service

selftests: membarrier: use ksft_* var arg msg api
authorShuah Khan <shuahkh@osg.samsung.com>
Thu, 29 Jun 2017 22:54:57 +0000 (16:54 -0600)
committerShuah Khan <shuahkh@osg.samsung.com>
Fri, 30 Jun 2017 22:16:23 +0000 (16:16 -0600)
commite67f85fb96ca80e5a60ea69c536affed0affc77d
tree47e015c9c6e077e19b163357020ec181cdbf57c9
parent0732d06ee563bbcdf34ec889918baa62451b580d
selftests: membarrier: use ksft_* var arg msg api

Use ksft_* var arg msg to include strerror() info. in test output. Remove
redundant SKIP/FAIL/PASS logic as it is no longer needed with ksft_ api.
Improve test output to be consistent and clear.

Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>
tools/testing/selftests/membarrier/membarrier_test.c