tracing/selftests: Add tracefs mount options test
authorKalesh Singh <kaleshsingh@google.com>
Wed, 30 Oct 2024 17:17:50 +0000 (10:17 -0700)
committerSteven Rostedt (Google) <rostedt@goodmis.org>
Fri, 1 Nov 2024 12:57:55 +0000 (08:57 -0400)
commit8b55572e51805184353ee7d587c720a51818fb82
treed622aa5004625e4d2cf9076901940bb15311fc5c
parentfa17cb4b3b42618aeed1e0bce80cc55106561718
tracing/selftests: Add tracefs mount options test

Add a selftest to check that the tracefs gid mount option is applied
correctly.

   ./ftracetest test.d/00basic/mount_options.tc

Use the new readme string "[gid=<gid>] as a requirement and also update
test_ownership.tc requirements to use this.

Cc: Eric Sandeen <sandeen@redhat.com>
Cc: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Cc: Shuah Khan <shuah@kernel.org>
Cc: Ali Zahraee <ahzahraee@gmail.com>
Cc: Christian Brauner <brauner@kernel.org>
Cc: David Howells <dhowells@redhat.com>
Cc: Masami Hiramatsu <mhiramat@kernel.org>
Link: https://lore.kernel.org/20241030171928.4168869-4-kaleshsingh@google.com
Signed-off-by: Kalesh Singh <kaleshsingh@google.com>
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
tools/testing/selftests/ftrace/test.d/00basic/mount_options.tc [new file with mode: 0644]
tools/testing/selftests/ftrace/test.d/00basic/test_ownership.tc
tools/testing/selftests/ftrace/test.d/functions