| |
@@ -141,7 +141,7 @@
|
| |
discover:
|
| |
how: fmf
|
| |
execute:
|
| |
- how: beakerlib
|
| |
+ how: tmt
|
| |
|
| |
=== Shell Test ===
|
| |
|
| |
@@ -273,7 +273,7 @@
|
| |
how: fmf
|
| |
url: https://github.com/psss/tmt
|
| |
execute:
|
| |
- how: beakerlib
|
| |
+ how: tmt
|
| |
|
| |
Now you will be able to run tests from the remote repository.
|
| |
See the https://tmt.readthedocs.io/en/latest/spec/steps.html#discover[discover] step documentation for details.
|
| |
@@ -368,23 +368,9 @@
|
| |
|
| |
=== Virtualization Tips ===
|
| |
|
| |
- Here's just a couple of hints how to get the virtualization quickly working on your laptop.
|
| |
- See the https://docs.fedoraproject.org/en-US/quick-docs/getting-started-with-virtualization/[Getting started with virtualization] docs to learn more.
|
| |
-
|
| |
- Make sure libvirtd is running:
|
| |
-
|
| |
- sudo systemctl start libvirtd
|
| |
-
|
| |
- Add your user account to the libvirt group.
|
| |
-
|
| |
- sudo usermod -a -G libvirt $USER
|
| |
-
|
| |
- You might need to restart your desktop session to get it fully working.
|
| |
- Or at least start a new login shell:
|
| |
-
|
| |
- su - $USER
|
| |
-
|
| |
- Here you can find vm https://kojipkgs.fedoraproject.org/compose/[images for download].
|
| |
+ In order to safely run tests under a virtual machine started on your laptop you only need to install the `tmt-provision-virtual` package.
|
| |
+ By default the session connection is used so no other steps should be needed, just execute tests using the `tmt run` command.
|
| |
+ See the upstream https://tmt.readthedocs.io/en/stable/questions.html#virtualization-tips[Virtualization Tips] for more options.
|
| |
|
| |
|
| |
== More Info ==
|
| |
The
beakerlib
method has been obsoleted and the virtualizationhints are nicely documented in upstream documentation, no need to
duplicate here.