Commit 78c790e
committed
Redirect error to null if /proc/sys/crypto/fips_enabled doesn't exist
Currently, kdump/config-any test [1] failed against rawhide kernel which
somehow doesn't have FIPS enabled [2]. And kdump/config-any will warn if
logs contain "No such file or directory" [3] and warning by default is
treated as a test failure by tmt.
Suppress the error to keep the test green.
[1] https://artifacts.osci.redhat.com/testing-farm/fdacf2c1-c54f-4467-b8c9-25bdd2d021e0/
[2] https://bugzilla.redhat.com/show_bug.cgi?id=2372994
[3] https://gitlab.com/redhat/centos-stream/tests/kernel/kernel-tests/-/blob/845025235f5c3d6ccc4e462f215d935999606893/kdump/include/kdump.sh#L446
Signed-off-by: Coiby Xu <[email protected]>1 parent 6da55bc commit 78c790e
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
433 | 433 | | |
434 | 434 | | |
435 | 435 | | |
436 | | - | |
| 436 | + | |
437 | 437 | | |
438 | 438 | | |
439 | 439 | | |
| |||
0 commit comments