fix tmt smoke test

Signed-off-by: Tiago Bueno <tbueno@redhat.com>
This commit is contained in:
Tiago Bueno 2025-10-08 09:53:53 -03:00
parent 6f55dc920e
commit 7b447caf9f
No known key found for this signature in database
GPG Key ID: E05B66AA4A5AFC8C
3 changed files with 15 additions and 1 deletions

12
plans/main.fmf Normal file
View File

@ -0,0 +1,12 @@
prepare:
- name: Install butane package
when: use_built_from_src is not defined or use_built_from_src == false
how: install
package: butane
- name: Set BUTANE_BIN_DIR when installed package
when: use_built_from_src is not defined or use_built_from_src == false
how: shell
script: |
set -x -e -o pipefail
echo "BUTANE_BIN_DIR=/usr/bin" > /tmp/butane_bin_dir

View File

@ -6,3 +6,4 @@ discover:
filter: 'tag: smoke'
execute:
how: tmt

View File

@ -6,4 +6,5 @@
tests:
- simple:
dir: .
run: "butane --help"
run: "butane --help"