High-performance and highly configurable free RADIUS server
Go to file
Susant Sahani bcef4f467c Adds tests according to the CI
Adds tests according to the CI

justification
Adds tests according to the CI wiki specifically the standard test interface in the spec.
The playbook includes Tier1 level test cases that have been tested in the following contexts and
is passing reliably: Classic. Test logs are stored in the artifacts directory.
The following steps are used to execute the tests using the standard test interface:

Test enveronment
Make sure you have installed packages from the spec
```
ansible-2.4.1.0-2.fc28.noarch
python2-dnf-2.7.5-1.fc28.noarch
libselinux-python-2.7-2.fc28.x86_64
standard-test-roles-2.5-1.fc28.noarch
Run tests for Classic
Snip of the example test run for Classic tests:
```
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
::   Test
::   Test
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

:: [ 16:21:19 ] :: [   LOG    ] :: Starting radius auth tests ...
:: [ 16:21:19 ] :: [   LOG    ] :: Starting radius auth tests ...
:: [ 16:21:19 ] :: [  BEGIN   ] :: Running '/usr/bin/python3 /usr/bin/freeradius-tests.py'
test_radius_plaintext_auth (__main__.RadiousTests) ... Sent Access-Request Id 17 from 0.0.0.0:49711 to 127.0.0.1:1812 length 79
        User-Name = "fedora-ci"
        User-Password = "password"
        NAS-IP-Address = 192.168.225.189
        NAS-Port = 100
        Message-Authenticator = 0x00
        Cleartext-Password = "password"
Received Access-Accept Id 17 from 127.0.0.1:1812 to 0.0.0.0:0 length 38
        Reply-Message = "Hello, fedora-ci"
ok

----------------------------------------------------------------------
Ran 1 test in 1.214s

OK
:: [ 16:21:20 ] :: [   PASS   ] :: Command '/usr/bin/python3 /usr/bin/freeradius-tests.py' (Expected 0, got 0)
:: [ 16:21:20 ] :: [   PASS   ] :: Command '/usr/bin/python3 /usr/bin/freeradius-tests.py' (Expected 0, got 0)
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
::   Duration: 1s
2018-06-06 19:24:54 +05:30
tests Adds tests according to the CI 2018-06-06 19:24:54 +05:30
.gitignore Upgrade to upstream v3.0.15 release 2017-07-18 17:00:26 +03:00
find_module_deps initial port of new 2.0 version, rpm builds but resulting binary not tested 2008-02-28 23:41:44 +00:00
freeradius-Adjust-configuration-to-fit-Red-Hat-specifics.patch Upgrade to upstream v3.0.15 release 2017-07-18 17:00:26 +03:00
freeradius-autogen.sh add support in rlm_ldap for SASL/GSSAPI binds to the LDAP server 2007-11-10 05:13:58 +00:00
freeradius-logrotate Do not fail logrotate if radiusd is not running 2017-02-21 15:33:40 +01:00
freeradius-pam-conf - use password-auth common PAM configuration instead of system-auth 2009-09-16 12:21:41 +00:00
freeradius-radiusd-init remove execute permission from initscript source 2011-01-18 09:47:25 -05:00
freeradius-tmpfiles.conf convert to systemd 2011-09-08 14:45:31 -04:00
freeradius-Use-system-crypto-policy-by-default.patch Upgrade to upstream v3.0.15 release 2017-07-18 17:00:26 +03:00
freeradius.spec Rebuilt for libjson-c.so.4 (json-c v0.13.1) 2018-03-06 15:15:03 +01:00
radiusd.service Add ipa, dirsrv and krb5kdc to service deps 2017-02-17 13:40:22 +01:00
sources Upgrade to upstream v3.0.15 release 2017-07-18 17:00:26 +03:00