Use tcpreplay from Fedora EPEL
Install tcpreplay from Fedora EPEL instead of building it from source. Also remove all packages that were only needed for building tcpreplay. Signed-off-by: Felix Maurer <fmaurer@redhat.com>
This commit is contained in:
parent
446da5bb5b
commit
d259094711
@ -23,12 +23,7 @@ libndp_log() {
|
|||||||
|
|
||||||
install_tcpreplay() {
|
install_tcpreplay() {
|
||||||
which tcpreplay && return 0
|
which tcpreplay && return 0
|
||||||
wget https://github.com/appneta/tcpreplay/releases/download/v4.3.0/tcpreplay-4.3.0.tar.xz
|
dnf install -y https://kojipkgs.fedoraproject.org/packages/tcpreplay/4.5.1/1.el8/x86_64/tcpreplay-4.5.1-1.el8.x86_64.rpm
|
||||||
tar xf tcpreplay-4.3.0.tar.xz
|
|
||||||
cd tcpreplay-4.3.0
|
|
||||||
./configure && make && make install
|
|
||||||
cd ../
|
|
||||||
which tcpreplay
|
|
||||||
}
|
}
|
||||||
|
|
||||||
clean_up() {
|
clean_up() {
|
||||||
|
@ -4,11 +4,7 @@
|
|||||||
- role: standard-test-basic
|
- role: standard-test-basic
|
||||||
required_packages:
|
required_packages:
|
||||||
- expect
|
- expect
|
||||||
- gcc
|
|
||||||
- libpcap-devel
|
|
||||||
- make
|
|
||||||
- tcpdump
|
- tcpdump
|
||||||
- wget
|
|
||||||
tags:
|
tags:
|
||||||
- classic
|
- classic
|
||||||
tests:
|
tests:
|
||||||
|
Loading…
Reference in New Issue
Block a user