test: Allow a failed dmesg imported by new RT kernel

Due to bz#1979272, the failed dmesg is not caused by osbuild, but
RT kernel itself. Allow this failed dmesg to make test happy.
This commit is contained in:
Xiaofeng Wang 2021-07-05 21:58:34 +08:00 committed by Tom Gundersen
parent 385648223d
commit c025c60544

View file

@ -310,7 +310,7 @@
block:
- assert:
that:
- result_dmesg_error.stdout == ""
- "'sha512_generic: module verification failed: signature and/or required key missing - tainting kernel' in result_dmesg_error.stdout or result_dmesg_error.stdout == ''"
fail_msg: "found error or fail log in rt kernel test"
success_msg: "no error or fail log found"
always: