diff options
author | Masami Hiramatsu <mhiramat@kernel.org> | 2017-07-07 10:03:36 +0900 |
---|---|---|
committer | Shuah Khan <shuahkh@osg.samsung.com> | 2017-07-26 15:41:43 -0600 |
commit | 97e49368515830586b09ccadcdc567283b11afb9 (patch) | |
tree | 393bd1651473f9361765549f65fa9d2cdacddf66 /tools/testing/selftests/sync/sync_test.c | |
parent | selftests: ftrace: Output only to console with "--logdir -" (diff) | |
download | linux-dev-97e49368515830586b09ccadcdc567283b11afb9.tar.xz linux-dev-97e49368515830586b09ccadcdc567283b11afb9.zip |
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: Masami Hiramatsu <mhiramat@kernel.org>
Acked-by: Steven Rostedt (VMware) <srostedt@goodmis.org>
Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions