perftest/tests/sanity.sh
Kamal Heib cdc2a019b3 Update to upstream release 23.04.0.0.23
Update package and add gating tests
Resolves: rhbz#2212517

Signed-off-by: Kamal Heib <kheib@redhat.com>
2023-06-05 15:22:38 -04:00

16 lines
315 B
Bash
Executable File

#!/bin/bash
#
# This is a simple sanity test to satisfy the RHEL8.1 onboard gating
# requirement.
ib_atomic_bw --version
ret=$?
# for reasons I have not investigated, at least on hosts without any rdma
# hardware, the above returns 1 instead of 0 (as does --help)
if [ "$ret" -eq 1 ]; then
exit 0
fi
exit $ret