40ca627d76
Resolves: rhbz#1960248
19 lines
287 B
Bash
Executable File
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
|