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
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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
}