From f8b6a81ae4762e6ed67af254611b0a32a7d69ea9 Mon Sep 17 00:00:00 2001 From: Valentin Rothberg Date: Tue, 2 Aug 2022 15:37:34 +0200 Subject: test/system/255-auto-update.bats: add an SELinux comment Drop a comment on using `chcon` to let the local rollback test pass. It took me a while to understand why the test failed and future souls may appreciated the extra breadcrumb. Signed-off-by: Valentin Rothberg --- test/system/255-auto-update.bats | 2 ++ 1 file changed, 2 insertions(+) (limited to 'test') diff --git a/test/system/255-auto-update.bats b/test/system/255-auto-update.bats index 6cee939fb..c6f9600b6 100644 --- a/test/system/255-auto-update.bats +++ b/test/system/255-auto-update.bats @@ -234,6 +234,8 @@ function _confirm_update() { _confirm_update $cname $ori_image } +# This test can fail in dev. environment because of SELinux. +# quick fix: chcon -t container_runtime_exec_t ./bin/podman @test "podman auto-update - label io.containers.autoupdate=local with rollback" { # sdnotify fails with runc 1.0.0-3-dev2 on Ubuntu. Let's just # assume that we work only with crun, nothing else. -- cgit v1.2.3-54-g00ecf