rpm-mpi-hooks/tests/sanity.sh
Honggang Li 037df50486 Add gating test
Resolves: rhbz#1972736

Signed-off-by: Honggang Li <honli@redhat.com>
2021-07-27 05:13:25 -04:00

13 lines
197 B
Bash
Executable File

#!/bin/bash
#
# This is a simple sanity test to satisfy the RHEL8.1 onboard gating
# requirement.
ret=1
if [ -e /usr/lib/rpm/mpi.prov ] && [ -e /usr/lib/rpm/mpi.req ]; then
ret=0
fi
exit $ret