From 0487b52a2521d3cf1ea4212a126b59eadd0fed94 Mon Sep 17 00:00:00 2001 From: German Maglione Date: Thu, 25 Apr 2024 14:38:31 +0200 Subject: [PATCH] Add initial RHEL OSCI gating test Resolves: RHEL-32194 Signed-off-by: German Maglione --- gating.yaml | 6 ++++++ tests/tests.yml | 12 ++++++++++++ tests/virtiofsd_printcaps.sh | 3 +++ 3 files changed, 21 insertions(+) create mode 100644 gating.yaml create mode 100644 tests/tests.yml create mode 100644 tests/virtiofsd_printcaps.sh diff --git a/gating.yaml b/gating.yaml new file mode 100644 index 0000000..2c7ed80 --- /dev/null +++ b/gating.yaml @@ -0,0 +1,6 @@ +--- !Policy +product_versions: + - rhel-* +decision_context: osci_compose_gate +rules: + - !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional} diff --git a/tests/tests.yml b/tests/tests.yml new file mode 100644 index 0000000..6b85d85 --- /dev/null +++ b/tests/tests.yml @@ -0,0 +1,12 @@ +- hosts: localhost + roles: + - role: standard-test-basic + tags: + - classic + remote_user: root + tests: + - virtiofsd_printcaps: + dir: . + run: ./virtiofsd_printcaps.sh + required_packages: + - virtiofsd diff --git a/tests/virtiofsd_printcaps.sh b/tests/virtiofsd_printcaps.sh new file mode 100644 index 0000000..5405bdb --- /dev/null +++ b/tests/virtiofsd_printcaps.sh @@ -0,0 +1,3 @@ +#!/bin/bash -ex + +/usr/libexec/virtiofsd --print-capabilities