commit | 494a5e126b4de48091a161436839647246b29d29 | [log] [tgz] |
---|---|---|
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | Thu Feb 11 16:40:11 2021 +0200 |
committer | Simon Glass <sjg@chromium.org> | Thu Apr 29 03:23:39 2021 -0700 |
tree | b288bb26a3fcd0c6b03456a52408197e79da2c1f | |
parent | ff232a72969567cd0339d4f96fa0b1840bef500e [diff] |
test: Use positive conditional in test_matches() It is easier to read the positive conditional. While at it, convert hard coded length of "_test_" to strlen("_test_") which will be converted to a constant bu optimizing compiler. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>