tracing/selftests: Run the ownership test twice
authorSteven Rostedt (Google) <rostedt@goodmis.org>
Thu, 23 May 2024 16:45:41 +0000 (12:45 -0400)
committerShuah Khan <skhan@linuxfoundation.org>
Wed, 7 Aug 2024 20:51:16 +0000 (14:51 -0600)
commit53af1a4b6a55b3910a253fce7a0893e6d51952be
tree1d4bc6abb6e37357e84d3d3d6a4f394ec98fe0a3
parent98f8faea4b6379de2c1483125253b73f7449e6b6
tracing/selftests: Run the ownership test twice

A regression happened where running the ownership test passes on the first
iteration but fails running it a second time. This was caught and fixed,
but a later change brought it back. The regression was missed because the
automated tests only run the tests once per boot.

Change the ownership test to iterate through the tests twice, as this will
catch the regression with a single run.

Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
Acked-by: Masami Hiramatsu (Google) <mhiramat@kernel.org>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
tools/testing/selftests/ftrace/test.d/00basic/test_ownership.tc