$ podman build -t fc37-greenboot-test .
$ podman run --rm -v /run/systemd/journal:/run/systemd/journal -it fc37-greenboot-test
check_watchdog_support.bats
✗ Ensure watchdog check is working
(from function `source' in file /usr/lib/greenboot/check/required.d/02_watchdog.sh, line 47,
from function `setup' in test file check_watchdog_support.bats, line 4)
`source $GREENBOOT_DEFAULT_CHECK_PATH/required.d/02_watchdog.sh --source-only' failed
No watchdog on the system, skipping check
[...]
bats
will source02_watchdog.sh
. Move all checks that may exit in the branch when--source-only
is not passed to avoid a false negative in bats.wdctl
may return:Using the provided Dockerfile environment (with 5a9d47e8767d0059b395de86991e816b5511fc41):