[PATCH] test: log: Actually test enable/disable output

Simon Glass sjg at chromium.org
Tue Oct 27 05:52:12 CET 2020


On Sat, 17 Oct 2020 at 07:20, Sean Anderson <seanga2 at gmail.com> wrote:
>
> Strings are truth-y in python, so ``assert 'anything'`` will always
> evaluate to True. Fix the test so that it actually checks the output.
>
> Fixes: 3d03ab6361 ("log: Add a way to enable/disable a log device")
> Signed-off-by: Sean Anderson <seanga2 at gmail.com>
> ---
>
>  test/py/tests/test_log.py | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list