selftests: ftrace: Check given string is not zero-length
Use [ ! -z "$VAR" ] instead of [ "$VAR" ] to check whether the given string variable is not zero-length since it obviously shows what it means. Signed-off-by: NMasami Hiramatsu <mhiramat@kernel.org> Acked-by: NSteven Rostedt (VMware) <srostedt@goodmis.org> Signed-off-by: NShuah Khan <shuahkh@osg.samsung.com>
Showing
想要评论请 注册 或 登录