aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/testing/selftests/ftrace
diff options
context:
space:
mode:
authorNĂ­colas F. R. A. Prado <nfraprado@collabora.com>2022-11-28 17:03:40 -0500
committerShuah Khan <skhan@linuxfoundation.org>2022-11-29 17:28:31 -0700
commit8008d88e6d160c4e73de5be7c3dcc54e3ccccf49 (patch)
tree755ad6c749af5738bed452b3c9d741a5bc7267c9 /tools/testing/selftests/ftrace
parentselftests: splice_read: Fix sysfs read cases (diff)
downloadwireguard-linux-8008d88e6d160c4e73de5be7c3dcc54e3ccccf49.tar.xz
wireguard-linux-8008d88e6d160c4e73de5be7c3dcc54e3ccccf49.zip
selftests/tpm2: Split async tests call to separate shell script runner
When the async test case was introduced, despite being a completely independent test case, the command to run it was added to the same shell script as the smoke test case. Since a shell script implicitly returns the error code from the last run command, this effectively caused the script to only return as error code the result from the async test case, hiding the smoke test result (which could then only be seen from the python unittest logs). Move the async test case call to its own shell script runner to avoid the aforementioned issue. This also makes the output clearer to read, since each kselftest KTAP result now matches with one python unittest report. While at it, also make it so the async test case is skipped if /dev/tpmrm0 doesn't exist, since commit 8335adb8f9d3 ("selftests: tpm: add async space test with noneexisting handle") added a test that relies on it. Signed-off-by: NĂ­colas F. R. A. Prado <nfraprado@collabora.com> Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Diffstat (limited to 'tools/testing/selftests/ftrace')
0 files changed, 0 insertions, 0 deletions