stalld/tests/scripts/run_tests.sh
Chris White e5ecf6df10 Sync over RHEL dist files
Resolves: RHEL-34055
Signed-off-by: Chris White <chwhite@redhat.com>
2024-05-10 12:14:45 -07:00

22 lines
406 B
Bash

#!/usr/bin/bash
# This will get uncommented once we have the rpm
# make sure we have stalld installed
if rpm -q --quiet stalld; then
:
else
sudo dnf install -y stalld
if [[ $? != 0 ]]; then
echo "install of stalld failed!"
exit 1
fi
fi
STALLD="/usr/bin/stalld"
# See if stalld is installed and executable
$STALLD --help 2>> /dev/null
if [[ $? != 0 ]]; then
exit 2
fi