tuna/tests/scripts/run_tests.sh
Mike Stowell b7a2b32757 Make gating run_tests script executable - Resolves: rhbz#1966709
Resolves: rhbz#1966709
Signed-off-by: Mike Stowell <mstowell@redhat.com>
2021-06-02 13:02:55 -04:00

20 lines
311 B
Bash
Executable File

#!/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
# simple tests
tuna --help || exit 2
tuna --version || exit 3
tuna --show_threads || exit 4
exit 0