summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorValentin Rothberg <vrothberg@redhat.com>2022-08-02 15:37:34 +0200
committerValentin Rothberg <vrothberg@redhat.com>2022-08-04 13:07:58 +0200
commitf8b6a81ae4762e6ed67af254611b0a32a7d69ea9 (patch)
treed724facc916ecf205d9e52b737e1393a3a9d6ab0 /test
parent87c0c760ece41ae56ec3d99f3938a84b11366521 (diff)
downloadpodman-f8b6a81ae4762e6ed67af254611b0a32a7d69ea9.tar.gz
podman-f8b6a81ae4762e6ed67af254611b0a32a7d69ea9.tar.bz2
podman-f8b6a81ae4762e6ed67af254611b0a32a7d69ea9.zip
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 <vrothberg@redhat.com>
Diffstat (limited to 'test')
-rw-r--r--test/system/255-auto-update.bats2
1 files changed, 2 insertions, 0 deletions
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.