From dfee2f675f2c43e589eb208a1cb9b39494a3cc22 Mon Sep 17 00:00:00 2001 From: Yevhenii Shapovalov Date: Tue, 12 Dec 2017 13:28:04 +0200 Subject: add tests --- tests/roles/cli/tasks/mount.yaml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 tests/roles/cli/tasks/mount.yaml (limited to 'tests/roles/cli/tasks/mount.yaml') diff --git a/tests/roles/cli/tasks/mount.yaml b/tests/roles/cli/tasks/mount.yaml new file mode 100644 index 0000000..09bd901 --- /dev/null +++ b/tests/roles/cli/tasks/mount.yaml @@ -0,0 +1,27 @@ +--- +- name: buildah mount container nginxc + command: buildah mount nginxc + register: mount + +- name: buildah mount without args will list all mounts + shell: buildah mount | grep storage + +- name: buildah add + import_tasks: add.yaml + tags: + - add + +- name: buildah umount + command: buildah umount nginxc + +- name: buildah mount --notruncate + command: buildah mount --notruncate nginxc-2 + register: mount + +- name: buildah copy + import_tasks: copy.yaml + tags: + - copy + +- name: buildah unmount + command: buildah unmount nginxc-2 -- cgit