Compare commits
No commits in common. "c8" and "c8s" have entirely different histories.
1
.gitignore
vendored
1
.gitignore
vendored
@ -1 +1,2 @@
|
|||||||
SOURCES/v0.4.11.tar.gz
|
SOURCES/v0.4.11.tar.gz
|
||||||
|
/v0.4.11.tar.gz
|
||||||
|
11
gating.yaml
Normal file
11
gating.yaml
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
--- !Policy
|
||||||
|
|
||||||
|
product_versions:
|
||||||
|
|
||||||
|
- rhel-8
|
||||||
|
|
||||||
|
decision_context: osci_compose_gate
|
||||||
|
|
||||||
|
rules:
|
||||||
|
|
||||||
|
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}
|
1
sources
Normal file
1
sources
Normal file
@ -0,0 +1 @@
|
|||||||
|
SHA512 (v0.4.11.tar.gz) = 303f14267d0410b0b4703f1821043a0e06be2ce36ad182d694804c9c63ea2b5b15efcb9b35102f74320e45de5127c190fea786ce2b31bff227f973c01f1f8695
|
10
tests/run_tests.sh
Executable file
10
tests/run_tests.sh
Executable file
@ -0,0 +1,10 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
# when running this in 1minutetip the PATH must be specified to execute
|
||||||
|
# in the local directory.
|
||||||
|
echo "Setting path to local directory"
|
||||||
|
PATH=$PATH:$(pwd)
|
||||||
|
|
||||||
|
# simple sanity test
|
||||||
|
sanity.sh
|
||||||
|
exit $?
|
25
tests/sanity.sh
Executable file
25
tests/sanity.sh
Executable file
@ -0,0 +1,25 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
#
|
||||||
|
# This is a simple sanity test to satisfy the RHEL8.1 onboard gating
|
||||||
|
# requirement.
|
||||||
|
|
||||||
|
ret=0
|
||||||
|
qperf --help examples
|
||||||
|
let ret=$ret+$?
|
||||||
|
|
||||||
|
qperf --help tests
|
||||||
|
let ret=$ret+$?
|
||||||
|
|
||||||
|
# launch server
|
||||||
|
qperf &
|
||||||
|
|
||||||
|
qperf localhost tcp_bw tcp_lat
|
||||||
|
let ret=$ret+$?
|
||||||
|
|
||||||
|
qperf localhost udp_bw udp_lat
|
||||||
|
let ret=$ret+$?
|
||||||
|
|
||||||
|
# kill off server
|
||||||
|
killall qperf
|
||||||
|
|
||||||
|
exit $ret
|
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: . # switch to subfolder. This parameter is REQUIRED, use `dir: .` for current folder
|
||||||
|
run: ./run_tests.sh # this is your test command, its exit code is the outcome of the test
|
||||||
|
required_packages:
|
||||||
|
- qperf
|
||||||
|
- psmisc
|
Loading…
Reference in New Issue
Block a user