diff --git a/gating.yaml b/gating.yaml new file mode 100644 index 0000000..617c71e --- /dev/null +++ b/gating.yaml @@ -0,0 +1,7 @@ +--- !Policy +product_versions: + - rhel-* +decision_context: osci_compose_gate +rules: + - !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional} + - !PassingTestCaseRule {test_case_name: xen-ci.brew-build.tier1.functional} diff --git a/tests/augtool_test.sh b/tests/augtool_test.sh new file mode 100755 index 0000000..31afd88 --- /dev/null +++ b/tests/augtool_test.sh @@ -0,0 +1,35 @@ +#!/bin/bash + +set -eux + +augtool -L > augtool_test.out 2> augtool_test.err < /dev/null + +popd +rm -rf "$tmpdir" diff --git a/tests/tests.yml b/tests/tests.yml new file mode 100644 index 0000000..461ccb9 --- /dev/null +++ b/tests/tests.yml @@ -0,0 +1,33 @@ +--- +- hosts: localhost + roles: + - role: standard-test-source + tags: + - always + - role: standard-test-basic + tags: + - atomic + - classic + - container + required_packages: + - augeas + - augeas-devel + - libxml2-devel + - gcc + - pkg-config + - chrony # test its configs + - fuse # test its configs + - iscsi-initiator-utils # test its configs + - lvm2 # test its configs + - mdadm # test its configs + - openssh-server # test its configs + - rsync # test its configs + - rsyslog # test its configs + - sudo # test its configs + tests: + - augtool_test: + dir: . + run: ./augtool_test.sh + - devel: + dir: . + run: ./devel.sh