tuna/tests/scripts/run_tests.sh
2023-07-10 13:13:54 +02:00

22 lines
293 B
Bash

#!/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