diff --git a/.fmf/version b/.fmf/version new file mode 100644 index 0000000..d00491f --- /dev/null +++ b/.fmf/version @@ -0,0 +1 @@ +1 diff --git a/plans/basic.fmf b/plans/basic.fmf new file mode 100644 index 0000000..c43473a --- /dev/null +++ b/plans/basic.fmf @@ -0,0 +1,5 @@ +summary: Check basic functionality +discover: + how: fmf +execute: + how: tmt diff --git a/tests/main.fmf b/tests/main.fmf new file mode 100644 index 0000000..765b81d --- /dev/null +++ b/tests/main.fmf @@ -0,0 +1,2 @@ +require: + - podman diff --git a/tests/smoke.fmf b/tests/smoke.fmf new file mode 100644 index 0000000..97f2de4 --- /dev/null +++ b/tests/smoke.fmf @@ -0,0 +1,2 @@ +summary: Execute a simple command +test: podman run -t --rm fedora cat /etc/os-release | grep 'Fedora Linux' diff --git a/tests/tmt.fmf b/tests/tmt.fmf new file mode 100644 index 0000000..cd19cfe --- /dev/null +++ b/tests/tmt.fmf @@ -0,0 +1,8 @@ +summary: Make sure that container provision works +require: + - tmt-provision-container +test: + tmt run --verbose --remove + provision --how container --image fedora + login --command 'cat /etc/os-release' + finish