Trying to install libnet-devel.x86_64 and libnet-devel.i686 fails with
file /usr/bin/libnet-config conflicts between attempted installs of libnet-devel-1.2-2.fc34.x86_64 and libnet-devel-1.2-2.fc34.i686
The file libnet-config contains for x86_64 the string 'lib64' and for
i686 'lib' which makes the devel packages not installable at the same
time.
Running 'libnet-config --libs' returns '-L/usr/lib64 -lnet' for x86_64
and without '64' for i686. As that is both the default location for
libraries it can be omitted which this patch does.
With this patch applied 'libnet-config --libs' returns just '-lnet'.
Signed-off-by: Adrian Reber <adrian@lisas.de>
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
```
None of currently supported distributions need that.
Last one was EL5 which is EOL for a while.
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
None of currently supported distributions need that.
It was needed last for EL5 which is EOL now
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>