From ae9d72e32108c1fc511e4edd0bc333e4bba2e524 Mon Sep 17 00:00:00 2001 From: Vladis Dronov Date: Tue, 23 Nov 2021 17:38:12 +0100 Subject: [PATCH] Add OSCI testing harness Resolves: rhbz#2015560 Signed-off-by: Vladis Dronov --- gating.yaml | 6 ++++++ tests/README | 2 ++ tests/nulltest.sh | 4 ++++ tests/tests.yml | 10 ++++++++++ 4 files changed, 22 insertions(+) create mode 100644 gating.yaml create mode 100644 tests/README create mode 100755 tests/nulltest.sh create mode 100644 tests/tests.yml diff --git a/gating.yaml b/gating.yaml new file mode 100644 index 0000000..648918d --- /dev/null +++ b/gating.yaml @@ -0,0 +1,6 @@ +--- !Policy +product_versions: + - rhel-9 +decision_context: osci_compose_gate +rules: + - !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional} diff --git a/tests/README b/tests/README new file mode 100644 index 0000000..88548b8 --- /dev/null +++ b/tests/README @@ -0,0 +1,2 @@ +jitterentropy library does not really have tests. +it is tested as a part of rng-tools tests. \ No newline at end of file diff --git a/tests/nulltest.sh b/tests/nulltest.sh new file mode 100755 index 0000000..73a09c7 --- /dev/null +++ b/tests/nulltest.sh @@ -0,0 +1,4 @@ +#!/bin/bash + +echo JITTER-LIB nulltest is PASS +exit 0 diff --git a/tests/tests.yml b/tests/tests.yml new file mode 100644 index 0000000..0e807fa --- /dev/null +++ b/tests/tests.yml @@ -0,0 +1,10 @@ +--- +- hosts: localhost + roles: + - role: standard-test-basic + tags: + - classic + tests: + - nulltest: + dir: . + run: nulltest.sh