Commit 72ce3daf authored by Masami Hiramatsu's avatar Masami Hiramatsu Committed by Shuah Khan (Samsung OSG)

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
......@@ -39,10 +39,10 @@ test_trace() {
fi
echo "testing $line for >$x<"
match=`echo $line | sed -e "s/>$x<//"`
if [ "$line" == "$match" ]; then
if [ "$line" = "$match" ]; then
fail "$line does not have >$x< in it"
fi
let x=$x+2
x=$((x+2))
done
}
......
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