summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2022-06-02 04:33:03 -0400
committerGitHub <noreply@github.com>2022-06-02 04:33:03 -0400
commite4e100638dd7e90ecf7a554f68ebc71ea8e58f7b (patch)
tree3a67cec5fde9abb8aa41db332646ac64d947bbb4 /test
parenta208bfaa521ada1a3aa66f609de3f8434c80f896 (diff)
parentf728b7b5a7585cef7f8d612ccf54481c3c6eb556 (diff)
downloadpodman-e4e100638dd7e90ecf7a554f68ebc71ea8e58f7b.tar.gz
podman-e4e100638dd7e90ecf7a554f68ebc71ea8e58f7b.tar.bz2
podman-e4e100638dd7e90ecf7a554f68ebc71ea8e58f7b.zip
Merge pull request #14344 from cdoern/podCreate
podman pod create --uidmap patch
Diffstat (limited to 'test')
-rw-r--r--test/system/170-run-userns.bats4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/system/170-run-userns.bats b/test/system/170-run-userns.bats
index b80351902..46cb37b9d 100644
--- a/test/system/170-run-userns.bats
+++ b/test/system/170-run-userns.bats
@@ -38,10 +38,12 @@ function _require_crun() {
@test "rootful pod with custom ID mapping" {
skip_if_rootless "does not work rootless - rootful feature"
- skip_if_remote "remote --uidmap is broken (see #14233)"
random_pod_name=$(random_string 30)
run_podman pod create --uidmap 0:200000:5000 --name=$random_pod_name
run_podman pod start $random_pod_name
+ run_podman pod inspect --format '{{.InfraContainerID}}' $random_pod_name
+ run podman inspect --format '{{.HostConfig.IDMappings.UIDMap}}' $output
+ is "$output" ".*0:200000:5000" "UID Map Successful"
# Remove the pod and the pause image
run_podman pod rm $random_pod_name