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
f20288b377
commit
a99471a3b3
@ -23,13 +23,7 @@ libndp_log() {
|
|||||||
|
|
||||||
install_tcpreplay() {
|
install_tcpreplay() {
|
||||||
which tcpreplay && return 0
|
which tcpreplay && return 0
|
||||||
local ver="4.3.4"
|
dnf install -y https://kojipkgs.fedoraproject.org/packages/tcpreplay/4.5.1/1.el9/x86_64/tcpreplay-4.5.1-1.el9.x86_64.rpm
|
||||||
wget https://github.com/appneta/tcpreplay/releases/download/v${ver}/tcpreplay-${ver}.tar.xz
|
|
||||||
tar xf tcpreplay-${ver}.tar.xz
|
|
||||||
cd tcpreplay-${ver}
|
|
||||||
./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