itstool/plans/itstool.fmf

21 lines
643 B
Plaintext
Raw Normal View History

2025-01-09 08:17:29 +00:00
summary: Basic smoke test for itstool
discover:
how: fmf
execute:
how: tmt
prepare:
- name: ensure-test-xml
how: shell
script: |
echo "Current directory: $(pwd)"
echo "Listing files in the current directory:"
ls -l
echo "Checking if test.xml is available in the VM..."
if [ ! -f /usr/share/doc/itstool/examples/test.xml ]; then
echo "test.xml not found, copying it..."
mkdir -p /usr/share/doc/itstool/examples/
cp tests/test.xml /usr/share/doc/itstool/examples/
else
echo "test.xml found!"
fi