aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/failed-syscalls-by-pid.py
diff options
context:
space:
mode:
authorDaniel Latypov <[email protected]>2022-01-13 08:59:26 -0800
committerShuah Khan <[email protected]>2022-01-25 12:49:20 -0700
commit7b3391057fa1921ba84ef17852a6998c0af27e4d (patch)
tree0f73ca25b01e43875a6c15e013b68f6779d9f58a /tools/perf/scripts/python/failed-syscalls-by-pid.py
parente783362eb54cd99b2cac8b3a9aeac942e6f6ac07 (diff)
kunit: add example test case showing off all the expect macros
Currently, these macros are only really documented near the bottom of https://www.kernel.org/doc/html/latest/dev-tools/kunit/api/test.html#c.KUNIT_FAIL. E.g. it's likely someone might just not realize that KUNIT_EXPECT_STREQ() exists and instead use KUNIT_EXPECT_FALSE(strcmp()) or similar. This can also serve as a basic smoketest that the KUnit assert machinery still works for all the macros. Signed-off-by: Daniel Latypov <[email protected]> Reviewed-by: Brendan Higgins <[email protected]> Reviewed-by: David Gow <[email protected]> Signed-off-by: Shuah Khan <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions