tmt, tmt-run, tmt-try: add Chinese translation (#14962)

The pages translated are from PR [14921][01].

[01]: https://github.com/tldr-pages/tldr/pull/14921

Signed-off-by: Huanian Li <idorax@126.com>
Co-authored-by: Wiktor Perskawiec <git@spageektti.cc>
This commit is contained in:
Huanian Li
2024-12-04 14:57:00 +08:00
committed by GitHub
parent e5305a1865
commit 70daf74a45
3 changed files with 109 additions and 0 deletions

36
pages.zh/linux/tmt-try.md Normal file
View File

@@ -0,0 +1,36 @@
# tmt try
> 测试及环境快速上手。
> 更多信息:<https://tmt.readthedocs.io/en/stable/stories/cli.html#try>.
- 快速尝试默认的测试环境配置方法(当前工作目录中没有测试):
`tmt try`
- 在当前的工作目录中运行一个测试:
`cd {{path/to/test}} && tmt try`
- 使用特定的操作系统:
`tmt try {{fedora-41}}`
- 选择定制的镜像和测试环境配置方法:
`tmt try {{fedora@container}}`
- 根据定制的筛选条件选择测试:
`tmt try --test {{feature}}`
- 配置客户机并等待用户输入指令:
`tmt try --ask`
- 直接登录到客户机:
`tmt try --login`
- 显示帮助:
`tmt try --help`