rteval-loads/tests/scripts/run_tests.sh
John Kacur 75278bca41 Sync rteval-loads in rhel-10 with rhel-9.5
Add gating.yaml
Add tests
Resolves: RHEL-30432

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

21 lines
380 B
Bash

#!/usr/bin/bash
# make sure we have rteval installed
if rpm -q --quiet rteval-loads; then
:
else
sudo dnf install -y rteval-loads
if [[ $? != 0 ]]; then
echo "install of rteval failed!"
exit 1
fi
fi
# check that the tarball is in place
if [[ ! -f /usr/share/rteval/loadsource/linux-6.6.1.tar.xz ]]; then
echo "No load tarball found!"
exit 3
fi
exit 0