commit | 00d4290664381018ad9c419ff66b04ffeeebcfa6 | [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 | d91cfbb239888e8a7d411cad598a156c95f7d397 [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>