diff options
author | Masami Hiramatsu <mhiramat@kernel.org> | 2020-06-03 05:40:38 +0300 |
---|---|---|
committer | Shuah Khan <skhan@linuxfoundation.org> | 2020-06-16 19:39:20 +0300 |
commit | 3591e90fe1108909f822948bd7628412282f7e9d (patch) | |
tree | 61db9ee8874c8585a02dc4a387dd6e3bea76d51d /tools/testing/selftests/ftrace/test.d/instances/instance-event.tc | |
parent | fa33e6236f5fa425a3ccf8925010d51fae9f0929 (diff) | |
download | linux-3591e90fe1108909f822948bd7628412282f7e9d.tar.xz |
selftests/ftrace: Convert required interface checks into requires list
Convert the required tracefs interface checking code with
requires: list.
Fixed merge conflicts in trigger-hist.tc and trigger-trace-marker-hist.tc
Shuah Khan <skhan@linuxfoundation.org>
Signed-off-by: Masami Hiramatsu <mhiramat@kernel.org>
Reviewed-by: Tom Zanussi <zanussi@kernel.org>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Diffstat (limited to 'tools/testing/selftests/ftrace/test.d/instances/instance-event.tc')
-rw-r--r-- | tools/testing/selftests/ftrace/test.d/instances/instance-event.tc | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/tools/testing/selftests/ftrace/test.d/instances/instance-event.tc b/tools/testing/selftests/ftrace/test.d/instances/instance-event.tc index 4fa0f79144f4..0eb47fbb3f44 100644 --- a/tools/testing/selftests/ftrace/test.d/instances/instance-event.tc +++ b/tools/testing/selftests/ftrace/test.d/instances/instance-event.tc @@ -1,11 +1,7 @@ #!/bin/sh # SPDX-License-Identifier: GPL-2.0 # description: Test creation and deletion of trace instances while setting an event - -if [ ! -d instances ] ; then - echo "no instance directory with this kernel" - exit_unsupported; -fi +# requires: instances fail() { # mesg rmdir foo 2>/dev/null |