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() {
|
||||
which tcpreplay && return 0
|
||||
wget https://github.com/appneta/tcpreplay/releases/download/v4.3.0/tcpreplay-4.3.0.tar.xz
|
||||
tar xf tcpreplay-4.3.0.tar.xz
|
||||
cd tcpreplay-4.3.0
|
||||
./configure && make && make install
|
||||
cd ../
|
||||
which tcpreplay
|
||||
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
|
||||
}
|
||||
|
||||
clean_up() {
|
||||
|
@ -4,11 +4,7 @@
|
||||
- role: standard-test-basic
|
||||
required_packages:
|
||||
- expect
|
||||
- gcc
|
||||
- libpcap-devel
|
||||
- make
|
||||
- tcpdump
|
||||
- wget
|
||||
tags:
|
||||
- classic
|
||||
tests:
|
||||
|
Loading…
Reference in New Issue
Block a user