pmix/tests/sanity.sh
Honggang Li c47c5ac039 Add gating test
Related: rhbz#1947937

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

28 lines
378 B
Bash
Executable File

#!/bin/bash
#
# This is a simple sanity test to satisfy the RHEL8.1 onboard gating
# requirement.
ret=0
test="/usr/share/pmix/test/pmix_test"
$test -h
let ret=$ret+$?
$test --test-publish
let ret=$ret+$?
$test --test-connect
let ret=$ret+$?
$test --test-resolve-peers
let ret=$ret+$?
$test --test-error
let ret=$ret+$?
$test --test-internal 10
let ret=$ret+$?
exit $ret