Merge #405897 from plainbox-provider-checkbox:phlin/fix-tainted-check
exit takes only integer args in the range 0 - 255 If we return the taint value read from /proc/sys/kernel/tainted, it might exceed this range and causing unexpected behaviour.
e.g. on a system with kernel warning $ ./kernel_taint_test.py Kernel taint value is 512 Taint bit value: 9 (kernel issued warning) Taint bit value: 9 (kernel issued warning) $ echo $? 0
Let's just simplify the return logic of report_failures() to return either 0 or 1.
bin/kernel_taint_test.py: return 0 for passed cases, 1 for others
exit takes only integer args in the range 0 - 255 If we return the taint value read from /proc/sys/kernel/tainted, it might exceed this range and causing unexpected behaviour.
e.g. on a system with kernel warning $ ./kernel_taint_test.py Kernel taint value is 512 Taint bit value: 9 (kernel issued warning) Taint bit value: 9 (kernel issued warning) $ echo $? 0
Let's just simplify the return logic of report_failures() to return either 0 or 1.
Merge #405172 from ~zongminl/plainbox-provider-checkbox:sync-watchdog-test-between-classic-and-core
Change: Align the test for watchdog config on classic and core image
Watchdog implementation on both classic and core image no longer rely on watchdogd service since 20.04, with this change watchdog/systemd-config tests only systemd configuration on 20.04 and later series while keeping the original test for prior releases
Change: Align the test for watchdog config on classic and core image
Watchdog implementation on both classic and core image no longer rely on watchdogd service since 20.04, with this change watchdog/systemd-config tests only systemd configuration on 20.04 and later series while keeping the original test for prior releases