rteval-loads/tests/scripts/run_tests.sh
John Kacur ba11d8a518 Upgrade the kernel to linux-6.12-rc4
Resolves: RHEL-63614
Signed-off-by: John Kacur <jkacur@redhat.com>
2024-10-25 13:54:08 -04:00

21 lines
383 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.12-rc4.tar.gz ]]; then
echo "No load tarball found!"
exit 3
fi
exit 0