diff options
author | Yevhenii Shapovalov <yshapova@redhat.com> | 2017-12-12 13:28:04 +0200 |
---|---|---|
committer | Yevhenii Shapovalov <yshapova@redhat.com> | 2017-12-12 13:28:04 +0200 |
commit | e671b026e23409916843dcdaa52c4a0093954266 (patch) | |
tree | a2fb57055b78416e767af184e79167071524eefb /tests/roles/cli/tasks/config.yaml | |
parent | c55445e494a75fedd4b351d71c6d9e0a0fcae85e (diff) | |
download | buildah-e671b026e23409916843dcdaa52c4a0093954266.tar.gz buildah-e671b026e23409916843dcdaa52c4a0093954266.tar.xz buildah-e671b026e23409916843dcdaa52c4a0093954266.zip |
add tests
Diffstat (limited to 'tests/roles/cli/tasks/config.yaml')
-rw-r--r-- | tests/roles/cli/tasks/config.yaml | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/roles/cli/tasks/config.yaml b/tests/roles/cli/tasks/config.yaml new file mode 100644 index 0000000..91e8bc3 --- /dev/null +++ b/tests/roles/cli/tasks/config.yaml @@ -0,0 +1,16 @@ +--- +- name: buildah config workingdir + command: buildah config --workingdir /opt nginxc + +- name: get buildah config workingdir + command: buildah run nginxc "pwd" + register: checkworkingdir + failed_when: "'/opt' not in checkworkingdir.stdout" + +- name: buildah config env + command: buildah config --env foo=bar nginxc + +- name: get buildah config env + command: buildah run nginxc env + register: env + failed_when: "'foo=bar' not in env.stdout" |