sap-cluster-connector/tests/run_tests.sh
Oyvind Albrigtsen 40ca627d76 - Initial build
Resolves: rhbz#1960248
2021-06-22 14:38:38 +02:00

19 lines
287 B
Bash
Executable File

#!/bin/sh
err=0
for bin in "sap_cluster_connector help"; do
output="$($bin 2>&1)"
if [ $? -ne 0 ]; then
echo -e "ERROR: $bin failed:\n$output"
err=$((err+1))
else
echo "INFO: $bin works..."
fi
done
if [ $err -ge 1 ]; then
echo -e "\nERROR: $err tests FAILED..."
exit 1
fi