re-import sources as agreed with the maintainer
This commit is contained in:
parent
08c2304cd8
commit
d0956969e1
11
.gitignore
vendored
11
.gitignore
vendored
@ -1,2 +1,11 @@
|
||||
SOURCES/kronosnet-1.25.tar.gz
|
||||
/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
|
||||
|
35
tests/run-tests.sh
Executable file
35
tests/run-tests.sh
Executable 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
19
tests/tests.yml
Normal 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
|
Loading…
Reference in New Issue
Block a user