rteval/tests/scripts/run_tests.sh
Red Tail e083e0224c Initial commit to enable RHEL-9 gating for rteval
Resolves: rhbz#1966702
Signed-off-by: Mark Simmons msimmons@redhat.com
2021-06-03 14:53:25 -04:00

21 lines
267 B
Bash

#!/usr/bin/bash
# make sure we have rteval installed
if rpm -q --quiet rteval; then
:
else
sudo dnf install -y rteval
if [[ $? != 0 ]]; then
echo "install of rteval failed!"
exit 1
fi
fi
rteval --help
if [[ $? != 0 ]]; then
exit 2
fi
exit 0