diff options
author | Qi Wang <qiwan@redhat.com> | 2020-08-21 13:56:50 -0400 |
---|---|---|
committer | Qi Wang <qiwan@redhat.com> | 2020-09-04 15:04:36 -0400 |
commit | 6b0864434ad2780160c06ba607c76b0325b60175 (patch) | |
tree | 6d352ca8204e5f7c5e2ff1266248ff35d1cb9a19 /test/system/030-run.bats | |
parent | fa487a65220951e84779f200f48780666b4b9209 (diff) | |
download | podman-6b0864434ad2780160c06ba607c76b0325b60175.tar.gz podman-6b0864434ad2780160c06ba607c76b0325b60175.tar.bz2 podman-6b0864434ad2780160c06ba607c76b0325b60175.zip |
Add global options --runtime-flags
Add global options --runtime-flags for setting options to container runtime.
Signed-off-by: Qi Wang <qiwan@redhat.com>
Diffstat (limited to 'test/system/030-run.bats')
-rw-r--r-- | test/system/030-run.bats | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/system/030-run.bats b/test/system/030-run.bats index 198c8881d..5491dcc82 100644 --- a/test/system/030-run.bats +++ b/test/system/030-run.bats @@ -61,6 +61,12 @@ echo $rand | 0 | $rand is "$tests_run" "$(grep . <<<$tests | wc -l)" "Ran the full set of tests" } +@test "podman run - globle runtime option" { + skip_if_remote "runtime flag is not passing over remote" + run_podman 126 --runtime-flag invalidflag run --rm $IMAGE + is "$output" ".*invalidflag" "failed when passing undefined flags to the runtime" +} + # 'run --preserve-fds' passes a number of additional file descriptors into the container @test "podman run --preserve-fds" { skip_if_remote "preserve-fds is meaningless over remote" |