iproute/tests/tests.yml
Susant Sahani 5c4250bd81 CI: Add tuntap to test
Sample run

```

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

:: [ 17:14:21 ] :: [   LOG    ] :: ip tuntap tests
:: [ 17:14:21 ] :: [  BEGIN   ] :: Running '/usr/bin/python3 /usr/bin/ip-tuntap-tests.py'
test_add_tap (__main__.IPTuntapTests) ... fopen /sys/class/net/ip6gre0/tun_flags: No such file or directory
fopen /sys/class/net/wlan0/tun_flags: No such file or directory
ok

ok
test_add_tun_user_group (__main__.IPTuntapTests) ... fopen /sys/class/net/ip6gre0/tun_flags: No such file or directory
ok

----------------------------------------------------------------------
Ran 3 tests in 0.049s

OK
:: [ 17:14:21 ] :: [   PASS   ] :: Command '/usr/bin/python3 /usr/bin/ip-tuntap-tests.py' (Expected 0, got 0)
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
::   Duration: 0s
::   Assertions: 1 good, 0 bad
::   RESULT: PASS

```
2018-07-24 17:14:59 +05:30

23 lines
461 B
YAML

---
# Tests that run in all contexts
- hosts: localhost
roles:
- role: standard-test-beakerlib
tags:
- classic
- atomic
tests:
- ip-neigh-sanity-test
- ip-rule-sanity-test
- bridge-utility
- ip-link-sanity-test
- ip-address-sanity-test
- ip-address-label-sanity-test
- ip-fou-sanity-test
- ip-token-sanity-test
- ip-tuntap-sanity-test
required_packages:
- iproute
- bridge-utils
- python3