21 lines
643 B
Plaintext
21 lines
643 B
Plaintext
|
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
|