Commit 565d5576 authored by Masami Hiramatsu's avatar Masami Hiramatsu Committed by Shuah Khan

selftests/ftrace: Use top-level available_filter_function

Use top-level available_filter_function if the test case
is running under an instance.
Signed-off-by: default avatarMasami Hiramatsu <mhiramat@kernel.org>
Signed-off-by: default avatarShuah Khan <shuahkh@osg.samsung.com>
parent 1917d2c8
...@@ -63,6 +63,10 @@ fi ...@@ -63,6 +63,10 @@ fi
# powerpc uses .schedule # powerpc uses .schedule
func="schedule" func="schedule"
available_file=available_filter_functions
if [ -d ../../instances -a -f ../../available_filter_functions ]; then
available_file=../../available_filter_functions
fi
x=`grep '^\.schedule$' available_filter_functions | wc -l` x=`grep '^\.schedule$' available_filter_functions | wc -l`
if [ "$x" -eq 1 ]; then if [ "$x" -eq 1 ]; then
func=".schedule" func=".schedule"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment