stalld/tests/scripts/run_tests.sh
John Kacur f6167ccc62 Copying over missing tests directory
Resolves: RHEL-8982
Signed-off-by: John Kacur <jkacur@redhat.com>
2024-02-12 16:16:42 -05: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