11 lines
332 B
YAML
11 lines
332 B
YAML
# vi: ts=2 sw=2 et ft=yaml:
|
|
|
|
summary: Basic smoke test
|
|
execute:
|
|
how: tmt
|
|
script: |
|
|
set -ex
|
|
|
|
python3 -c 'import nihtest.Command as nc; x = nc.Command("echo", ["hello"]); x.run(); assert(x.stdout[0] == "hello")'
|
|
python3 -c 'import nihtest.Command as nc; x = nc.Command("false", []); x.run(); assert(x.exit_code == 1)'
|