commands.sh

tmt try

linux

Quickly experiment with tests and environments.

More info →

Options (3)

-t, --testboolean

Select tests with custom filter

Example: tmt try {{[-t|--test]}} {{feature}}
-a, --askboolean

Provision guest and wait for instructions

Example: tmt try {{[-a|--ask]}}
-l, --loginboolean

Directly log into the guest without asking

Example: tmt try {{[-l|--login]}}

Examples (8)

Quickly experiment with the default provision method (no tests in the CWD)

Run a test in the current working directory

cd path/to/test_directory && tmt try

Use a specific operating system

tmt try rhel-9

Select both custom image and provision method

tmt try fedora@container

Select tests with custom filter

tmt try [-t|--test] feature

Provision guest and wait for instructions

tmt try [-a|--ask]

Directly log into the guest without asking

tmt try [-l|--login]

Display help

tmt try --help
made by @shridhargupta | data from tldr-pages