re-import sources as agreed with the maintainer

This commit is contained in:
Adam Samalik 2023-07-10 13:13:54 +02:00
parent dde5d4f099
commit e1bc9776bc
3 changed files with 43 additions and 0 deletions

11
.gitignore vendored
View File

@ -1,2 +1,13 @@
*.swp
*.rpm
clog
/tuna-0.11.tar.bz2
/tuna-0.11.1.tar.bz2
/tuna-0.12.tar.xz
/tuna-0.13.1.tar.xz
/tuna-0.13.3.tar.xz
/tuna-0.14.tar.xz
/tuna-0.15.tar.xz
/tuna-0.16.tar.xz
/tuna-0.17.tar.xz
/tuna-0.18.tar.xz

View File

@ -0,0 +1,21 @@
#!/usr/bin/bash
# make sure we have tuna installed
if rpm -q --quiet tuna; then
:
else
sudo dnf install -y tuna
if [[ $? != 0 ]]; then
echo "install of tuna failed!"
exit 1
fi
fi
# run a simple command to show help
tuna --help
if [[ $? != 0 ]]; then
exit 2
fi
exit 0

11
tests/tests.yml Normal file
View File

@ -0,0 +1,11 @@
- hosts: localhost
roles:
- role: standard-test-basic
tags:
- classic
tests:
- simple:
dir: scripts
run: ./run_tests.sh
required_packages:
- tuna