diff options
author | 2024-02-21 17:27:14 +0800 | |
---|---|---|
committer | 2024-02-27 15:25:50 -0700 | |
commit | 6f2f793fba78eb4a0d5a34a71bc781118ed923d3 (patch) | |
tree | 4c6839fe9adad1a6e84ef896e6b97964b28664db /scripts/generate_rust_analyzer.py | |
parent | kunit: Setup DMA masks on the kunit device (diff) | |
download | linux-rng-6f2f793fba78eb4a0d5a34a71bc781118ed923d3.tar.xz linux-rng-6f2f793fba78eb4a0d5a34a71bc781118ed923d3.zip |
kunit: test: Log the correct filter string in executor_test
KUnit's executor_test logs the filter string in KUNIT_ASSERT_EQ_MSG(),
but passed a random character from the filter, rather than the whole
string.
This was found by annotating KUNIT_ASSERT_EQ_MSG() to let gcc validate
the format string.
Fixes: 76066f93f1df ("kunit: add tests for filtering attributes")
Signed-off-by: David Gow <davidgow@google.com>
Tested-by: Guenter Roeck <linux@roeck-us.net>
Reviewed-by: Justin Stitt <justinstitt@google.com>
Reviewed-by: Daniel Latypov <dlatypov@google.com>
Reviewed-by: Rae Moar <rmoar@google.com>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions