mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-04 05:55:21 +00:00
Update cheatsheets
This commit is contained in:
41
tldr/linux/tmt-try
Normal file
41
tldr/linux/tmt-try
Normal file
@@ -0,0 +1,41 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, linux]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# tmt try
|
||||
|
||||
> Quickly experiment with tests and environments.
|
||||
> More information: <https://tmt.readthedocs.io/en/stable/stories/cli.html#try>.
|
||||
|
||||
- Quickly experiment with the default provision method (no tests in the CWD):
|
||||
|
||||
`tmt try`
|
||||
|
||||
- Run a test in the current working directory:
|
||||
|
||||
`cd {{path/to/test}} && tmt try`
|
||||
|
||||
- Use a specific operating system:
|
||||
|
||||
`tmt try {{fedora-41}}`
|
||||
|
||||
- Select both custom image and provision method:
|
||||
|
||||
`tmt try {{fedora@container}}`
|
||||
|
||||
- Select tests with custom filter:
|
||||
|
||||
`tmt try --test {{feature}}`
|
||||
|
||||
- Provision guest and wait for instructions:
|
||||
|
||||
`tmt try --ask`
|
||||
|
||||
- Directly log into the guest without asking:
|
||||
|
||||
`tmt try --login`
|
||||
|
||||
- Display help:
|
||||
|
||||
`tmt try --help`
|
||||
Reference in New Issue
Block a user