Initial commit of new RHEL-9 gating for stress-ng
Resolves: rhbz#1966704 Signed-off-by: Mark Simmons msimmons@redhat.com
This commit is contained in:
parent
b6a4fa9e4c
commit
ba9d7c1b4b
6
gating.yaml
Normal file
6
gating.yaml
Normal file
@ -0,0 +1,6 @@
|
||||
--- !Policy
|
||||
product_versions:
|
||||
- rhel-9
|
||||
decision_context: osci_compose_gate
|
||||
rules:
|
||||
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}
|
17
tests/scripts/run_tests.sh
Normal file
17
tests/scripts/run_tests.sh
Normal file
@ -0,0 +1,17 @@
|
||||
#!/usr/bin/bash
|
||||
# make sure we have stress-ng installed
|
||||
if rpm -q --quiet stress-ng; then
|
||||
:
|
||||
else
|
||||
sudo dnf install -y stress-ng
|
||||
if [[ $? != 0 ]]; then
|
||||
echo "install of stress-ng failed!"
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
|
||||
# See if stress-ng is installed and executable
|
||||
stress-ng --help 2>> /dev/null
|
||||
if [[ $? != 0 ]]; then
|
||||
exit 2
|
||||
fi
|
12
tests/tests.yml
Normal file
12
tests/tests.yml
Normal file
@ -0,0 +1,12 @@
|
||||
- hosts: localhost
|
||||
roles:
|
||||
- role: standard-test-basic
|
||||
tags:
|
||||
- classic
|
||||
tests:
|
||||
- simple:
|
||||
dir: scripts
|
||||
run: ./run_tests.sh
|
||||
required_packages:
|
||||
- make
|
||||
- stress-ng
|
Loading…
Reference in New Issue
Block a user