summaryrefslogtreecommitdiff
path: root/test/system/410-selinux.bats
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2022-01-25 07:21:42 -0500
committerGitHub <noreply@github.com>2022-01-25 07:21:42 -0500
commitad1ff784f09e2a9a8e955055cea96be5bade7c53 (patch)
tree023309d91f0ac66e19b22aec1e5a303e62dff8fb /test/system/410-selinux.bats
parent6d03146a8ccc8322d134dd41be7fc14721b8b55b (diff)
parent7cdb00a4592b0283088382997c063a1e93305efc (diff)
downloadpodman-ad1ff784f09e2a9a8e955055cea96be5bade7c53.tar.gz
podman-ad1ff784f09e2a9a8e955055cea96be5bade7c53.tar.bz2
podman-ad1ff784f09e2a9a8e955055cea96be5bade7c53.zip
Merge pull request #12993 from edsantiago/test_rootless_remote
CI: enable rootless-remote system tests
Diffstat (limited to 'test/system/410-selinux.bats')
-rw-r--r--test/system/410-selinux.bats3
1 files changed, 2 insertions, 1 deletions
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