
12 Oct
2020
12 Oct
'20
5:35 a.m.
On Sat, 10 Oct 2020 at 13:44, Sean Anderson seanga2@gmail.com wrote:
This exercises a few success and failure modes of the log filter-* commands. log filter-list is not tested because it's purely informational. I don't think there's a good way to test it except by testing if the output of the command exactly matches a sample run.
Signed-off-by: Sean Anderson seanga2@gmail.com
Changes in v2:
- Converted log filter-* tests to C from python
include/test/log.h | 1 + test/log/Makefile | 1 + test/log/log_filter.c | 111 ++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 113 insertions(+) create mode 100644 test/log/log_filter.c
Reviewed-by: Simon Glass sjg@chromium.org