From f1f22b2e83a10098a5c135eca0530f325e47e830 Mon Sep 17 00:00:00 2001 From: Kevin Daudt Date: Sat, 16 Mar 2019 21:57:19 +0000 Subject: testing/tcpreplay: enable checks Some tests require root to be run, so we disable those tests. --- testing/tcpreplay/APKBUILD | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'testing/tcpreplay') diff --git a/testing/tcpreplay/APKBUILD b/testing/tcpreplay/APKBUILD index 8ef77d36f4..b48c8f20d7 100644 --- a/testing/tcpreplay/APKBUILD +++ b/testing/tcpreplay/APKBUILD @@ -12,7 +12,8 @@ depends_dev="" makedepends="libdnet-dev libpcap-dev tcpdump" install="" subpackages="$pkgname-doc" -source="https://downloads.sourceforge.net/tcpreplay/$pkgname-$pkgver.tar.gz" +source="https://downloads.sourceforge.net/tcpreplay/$pkgname-$pkgver.tar.gz + skip-tests-require-root.patch" builddir="$srcdir"/$pkgname-$pkgver # secfixes: @@ -37,9 +38,14 @@ build() { make } +check() { + make test +} + package() { cd "$builddir" make DESTDIR="$pkgdir" install } -sha512sums="211158d39ec48cefe11f0681f38eb1ab6a8302c5ef0e97dbff7d3230defe63e34d8d5755c21f1fe3fc061c4a0caf48ea0b86ae7d444ca68529a96386ea97b8fe tcpreplay-4.3.2.tar.gz" +sha512sums="211158d39ec48cefe11f0681f38eb1ab6a8302c5ef0e97dbff7d3230defe63e34d8d5755c21f1fe3fc061c4a0caf48ea0b86ae7d444ca68529a96386ea97b8fe tcpreplay-4.3.2.tar.gz +b6491f1539d14721ab6cde567918fea857a3e230dad1b03dee872bc2c4cb8c8d86aa51d3ed08da322a5af3f6a508fab991d10d58c14e3c7ddd8aff971fe91abb skip-tests-require-root.patch" -- cgit v1.2.3