Skip to content
Snippets Groups Projects
Commit 72ce3daf authored by Masami Hiramatsu's avatar Masami Hiramatsu Committed by Shuah Khan (Samsung OSG)
Browse files

selftests/ftrace: Fix checkbashisms errors


Fix a test case to make checkbashisms clean.

Signed-off-by: default avatarMasami Hiramatsu <mhiramat@kernel.org>
Acked-by: default avatarSteven Rostedt (VMware) <rostedt@goodmis.org>
Signed-off-by: default avatarShuah Khan (Samsung OSG) <shuah@kernel.org>
parent 2452c96e
No related branches found
No related tags found
No related merge requests found
...@@ -39,10 +39,10 @@ test_trace() { ...@@ -39,10 +39,10 @@ test_trace() {
fi fi
echo "testing $line for >$x<" echo "testing $line for >$x<"
match=`echo $line | sed -e "s/>$x<//"` match=`echo $line | sed -e "s/>$x<//"`
if [ "$line" == "$match" ]; then if [ "$line" = "$match" ]; then
fail "$line does not have >$x< in it" fail "$line does not have >$x< in it"
fi fi
let x=$x+2 x=$((x+2))
done done
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment