diff options
author | Ed Santiago <santiago@redhat.com> | 2022-01-24 09:58:34 -0700 |
---|---|---|
committer | Ed Santiago <santiago@redhat.com> | 2022-01-24 15:09:48 -0700 |
commit | 7cdb00a4592b0283088382997c063a1e93305efc (patch) | |
tree | ee19fc752d69216a49201a9ffc03081856084716 /test | |
parent | 6d8507d06bd8f1dbe91a688393e6fbd2b3382f23 (diff) | |
download | podman-7cdb00a4592b0283088382997c063a1e93305efc.tar.gz podman-7cdb00a4592b0283088382997c063a1e93305efc.tar.bz2 podman-7cdb00a4592b0283088382997c063a1e93305efc.zip |
CI: enable rootless-remote system tests
Minimal: only test Fedora.Latest.
Reason: podman 4.0.0-0.2.rc2 broke bodhi gating tests:
https://github.com/containers/podman/issues/12989
Requires skipping two recently-added tests that use 'podman unshare',
which doesn't work on remote.
Signed-off-by: Ed Santiago <santiago@redhat.com>
Diffstat (limited to 'test')
-rw-r--r-- | test/system/160-volumes.bats | 2 | ||||
-rw-r--r-- | test/system/410-selinux.bats | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/test/system/160-volumes.bats b/test/system/160-volumes.bats index 3f2d7f6bb..a3c972b3e 100644 --- a/test/system/160-volumes.bats +++ b/test/system/160-volumes.bats @@ -213,6 +213,8 @@ EOF # Podman volume user test @test "podman volume user test" { is_rootless || skip "only meaningful when run rootless" + skip_if_remote "not applicable on podman-remote" + user="1000:2000" newuser="100:200" tmpdir=${PODMAN_TMPDIR}/volume_$(random_string) diff --git a/test/system/410-selinux.bats b/test/system/410-selinux.bats index dbdfd4b9d..056a056f6 100644 --- a/test/system/410-selinux.bats +++ b/test/system/410-selinux.bats @@ -245,7 +245,8 @@ function check_label() { is "$output" "system_u:object_r:container_file_t:$level $tmpdir" \ "Confined Relabel Correctly" - if is_rootless; then + # podman-remote has no 'unshare' + if is_rootless && ! is_remote; then run_podman unshare touch $tmpdir/test1 # Relabel entire directory run_podman unshare chcon system_u:object_r:usr_t:s0 $tmpdir |