Compare commits

..

No commits in common. "c8" and "c8s" have entirely different histories.
c8 ... c8s

6 changed files with 74 additions and 1 deletions

13
.gitignore vendored
View File

@ -1 +1,12 @@
SOURCES/kronosnet-1.28.tar.xz
/kronosnet-1.1.tar.gz
/kronosnet-1.3.tar.gz
/kronosnet-1.4.tar.gz
/kronosnet-1.9.tar.gz
/kronosnet-1.10.tar.gz
/kronosnet-1.15.tar.gz
/kronosnet-1.16.tar.gz
/kronosnet-1.18.tar.gz
/kronosnet-1.22.tar.gz
/kronosnet-1.24.tar.gz
/kronosnet-1.25.tar.gz
/kronosnet-1.28.tar.xz

7
gating.yaml Normal file
View File

@ -0,0 +1,7 @@
--- !Policy
product_versions:
- rhel-8
decision_context: osci_compose_gate
rules:
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}

1
sources Normal file
View File

@ -0,0 +1 @@
SHA512 (kronosnet-1.28.tar.xz) = 2eabdb5f7c74e4d51cb0601a00e34c5af8715f76231fe752499a393f41c0aa5c562cc7a0984afaf6101ad90627e8450a8b6760863b9ce0d5cc7b941483ee15ca

35
tests/run-tests.sh Executable file
View File

@ -0,0 +1,35 @@
#!/bin/sh
EXCLUDES="knet_bench_test api_knet_handle_new_limit_test fun_pmtud_crypto_test api_nozzle_run_updown_test run-tests.sh"
TESTS_RUN=0
TESTS_FAILED=0
modprobe sctp
cd /usr/lib64/kronosnet/tests
for i in *
do
echo $EXCLUDES|grep $i >/dev/null 2>/dev/null
if [ $? = 1 ]
then
echo
echo "---- running $i"
./$i
if [ $? != 0 ]
then
TESTS_FAILED=$((TESTS_FAILED + 1))
echo "FAILED: $i"
fi
TESTS_RUN=$((TESTS_RUN + 1))
fi
done
echo
echo "Tests run: $TESTS_RUN"
echo "Tests failed: $TESTS_FAILED"
if [ $TESTS_FAILED -gt 0 ]
then
exit 1
else
exit 0
fi

19
tests/tests.yml Normal file
View File

@ -0,0 +1,19 @@
- hosts: localhost
roles:
- role: standard-test-source # Fetch source tarball and unpack it into the test environment
tags:
- always
- role: standard-test-basic
tags:
- atomic
- classic
required_packages:
- bash
- kronosnet-tests
- kernel-modules-extra
tests:
- check: # Run tests
dir: .
run: ./run-tests.sh