selftests/ftrace: Fix checkbashisms errors
Fix a test case to make checkbashisms clean. Signed-off-by: Masami Hiramatsu <mhiramat@kernel.org> Acked-by: Steven Rostedt (VMware) <rostedt@goodmis.org> Signed-off-by: Shuah Khan (Samsung OSG) <shuah@kernel.org>
This commit is contained in:
parent
2452c96e61
commit
72ce3daf92
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue