Compare commits

..

No commits in common. "c8" and "c8s" have entirely different histories.
c8 ... c8s

8 changed files with 44 additions and 2 deletions

7
.gitignore vendored
View File

@ -1 +1,6 @@
SOURCES/sap_cluster_connector-f3644f5.tar.gz
/*.tar.gz
/*.rpm
/.build-*.log
/*/
!/tests/
/tests/*.retry

View File

@ -1 +0,0 @@
4f1e98fe6ac60a513a1ce47b433b4fa637070be5 SOURCES/sap_cluster_connector-f3644f5.tar.gz

6
gating.yaml Normal file
View File

@ -0,0 +1,6 @@
--- !Policy
product_versions:
- rhel-8
decision_context: osci_compose_gate
rules:
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}

1
sources Normal file
View File

@ -0,0 +1 @@
SHA512 (sap_cluster_connector-f3644f5.tar.gz) = 9b4e85f9c5e28cb7416ceba11e381dcf51c4c4f49df427e771317650d768cce816dd2bb029b0de103761511940b4de2c01e610e2281d519d41b1e9c2d84d9033

18
tests/run_tests.sh Executable file
View File

@ -0,0 +1,18 @@
#!/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

13
tests/tests.yml Normal file
View File

@ -0,0 +1,13 @@
- hosts: localhost
roles:
- role: standard-test-basic
tags:
- classic
- container
required_packages:
- sap-cluster-connector
tests:
- subpackage_tests:
dir: .
run: ./run_tests.sh