Skip to content
Snippets Groups Projects
Commit 5e4bff6c authored by Leo's avatar Leo
Browse files

testing/tcpreplay: run only tests that do not require root

parent ca98fcd0
No related branches found
No related tags found
No related merge requests found
......@@ -9,9 +9,8 @@ arch="all"
license="GPL-3.0-or-later"
makedepends="libdnet-dev libpcap-dev tcpdump"
subpackages="$pkgname-doc"
source="https://downloads.sourceforge.net/tcpreplay/$pkgname-$pkgver.tar.gz
source="https://downloads.sourceforge.net/tcpreplay/tcpreplay-$pkgver.tar.gz
skip-tests-require-root.patch"
builddir="$srcdir"/$pkgname-$pkgver
# secfixes:
# 4.3.2-r0:
......@@ -39,12 +38,14 @@ build() {
}
check() {
make test
make -C test tcpprep
}
package() {
make DESTDIR="$pkgdir" install
}
sha512sums="dd119606a8eb7a812d89ee1fc10a5903911dc618cf68c1c550b0336aacba276f49052a28a81b2c6f0d4bc46ad51032b20543d733f024f1eb85bfa879cb391729 tcpreplay-4.3.4.tar.gz
b6491f1539d14721ab6cde567918fea857a3e230dad1b03dee872bc2c4cb8c8d86aa51d3ed08da322a5af3f6a508fab991d10d58c14e3c7ddd8aff971fe91abb skip-tests-require-root.patch"
sha512sums="
dd119606a8eb7a812d89ee1fc10a5903911dc618cf68c1c550b0336aacba276f49052a28a81b2c6f0d4bc46ad51032b20543d733f024f1eb85bfa879cb391729 tcpreplay-4.3.4.tar.gz
b6491f1539d14721ab6cde567918fea857a3e230dad1b03dee872bc2c4cb8c8d86aa51d3ed08da322a5af3f6a508fab991d10d58c14e3c7ddd8aff971fe91abb skip-tests-require-root.patch
"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment