tuna/tests/scripts/run_tests.sh
John Kacur 5e5032d21c Add missing patch to prevents tuna gui from starting if display not available
remove oscilloscope which is unsupported in rhel
Add rpmsinpect.yaml and gating.yaml
Add tests dir
update the current version of python-linux-procfs as a requires
Resolves: RHEL-30171

Signed-off-by: John Kacur <jkacur@redhat.com>
2024-03-26 11:22:03 -04:00

20 lines
309 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