A system-independent interface for user-level packet capture
Go to file
Susant Sahani ffba215ff0 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
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

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

:: [ 17:42:55 ] :: [   LOG    ] :: Starting libnet tests ...
:: [ 17:42:55 ] :: [   LOG    ] :: Starting libnet tests ...
:: [ 17:42:55 ] :: [  BEGIN   ] :: Running '/usr/bin/test-libnet'
[==========] Running 2 test(s).
[ RUN      ] test_udp_packet_ipv4
UDP src_port=2425 dst_port=2426
UDP src_port=2425 dst_port=2426
UDP src_port=2425 dst_port=2426
UDP src_port=2425 dst_port=2426
[       OK ] test_udp_packet_ipv4
[ RUN      ] test_tcp_packet_ipv4
TCP src_port=2425 dst_port=2426
TCP src_port=2425 dst_port=2426
TCP src_port=2425 dst_port=2426
TCP src_port=2425 dst_port=2426
[       OK ] test_tcp_packet_ipv4
[==========] 2 test(s) run.
[  PASSED  ] 2 test(s).
:: [ 17:43:05 ] :: [   PASS   ] :: Command '/usr/bin/test-libnet' (Expected 0, got 0)
:: [ 17:43:05 ] :: [   PASS   ] :: Command '/usr/bin/test-libnet' (Expected 0, got 0)
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
::   Duration: 10s
::   Duration: 10s
::   Assertions: 1 good, 0 bad
::   Assertions: 1 good, 0 bad
::   RESULT: PASS
::   RESULT: PASS

```
2018-06-29 18:09:17 +05:30
tests Adds tests according to the CI 2018-06-29 18:09:17 +05:30
.gitignore new version 1.8.1 2016-10-31 18:50:41 +01:00
0001-Fix-building-Bluetooth-Linux-Monitor-support-with-Bl.patch Add the actual patch 2015-05-26 15:35:11 +02:00
0001-man-tcpdump-and-tcpslice-have-manpages-in-man8.patch spec: update to 1.6.2 2014-09-29 15:17:16 +02:00
0002-pcap-config-mitigate-multilib-conflict.patch spec: update to 1.6.2 2014-09-29 15:17:16 +02:00
0003-pcap-linux-apparently-ctc-interfaces-on-s390-has-eth.patch spec: update to 1.6.2 2014-09-29 15:17:16 +02:00
0004-Add-support-for-AF_VSOCK.patch Adding support for AF_VSOCK 2018-06-07 09:34:43 +02:00
libpcap.spec Adding support for AF_VSOCK 2018-06-07 09:34:43 +02:00
sources new version 1.8.1 2016-10-31 18:50:41 +01:00