summaryrefslogtreecommitdiff
path: root/test/system/030-run.bats
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2022-05-31 05:07:28 -0400
committerGitHub <noreply@github.com>2022-05-31 05:07:28 -0400
commitccc087a30e7f84d656663e0b60cd2b918f5288fd (patch)
treec732991d79c60b6d591128210ae9a8e1b6356f16 /test/system/030-run.bats
parenta550af260a536aeaa35e4b8810971748a6f16f5f (diff)
parent7e69e2b53291dc839ea98c3b06d1c49ffe4bc90d (diff)
downloadpodman-ccc087a30e7f84d656663e0b60cd2b918f5288fd.tar.gz
podman-ccc087a30e7f84d656663e0b60cd2b918f5288fd.tar.bz2
podman-ccc087a30e7f84d656663e0b60cd2b918f5288fd.zip
Merge pull request #14415 from nicrowe00/14133
no-new-privileges format
Diffstat (limited to 'test/system/030-run.bats')
-rw-r--r--test/system/030-run.bats11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/system/030-run.bats b/test/system/030-run.bats
index 283c3aea9..241831257 100644
--- a/test/system/030-run.bats
+++ b/test/system/030-run.bats
@@ -855,4 +855,15 @@ EOF
run_podman rmi $test_image
}
+@test "podman create --security-opt" {
+ run_podman create --security-opt no-new-privileges=true $IMAGE
+ run_podman rm $output
+ run_podman create --security-opt no-new-privileges:true $IMAGE
+ run_podman rm $output
+ run_podman create --security-opt no-new-privileges=false $IMAGE
+ run_podman rm $output
+ run_podman create --security-opt no-new-privileges $IMAGE
+ run_podman rm $output
+}
+
# vim: filetype=sh