diff options
author | Kevin Daudt <kdaudt@alpinelinux.org> | 2019-03-16 21:57:19 +0000 |
---|---|---|
committer | Kevin Daudt <kdaudt@alpinelinux.org> | 2019-03-16 21:58:24 +0000 |
commit | f1f22b2e83a10098a5c135eca0530f325e47e830 (patch) | |
tree | 7369b85ba06a342c4eec0ec4f3c8a451cb50ea1f /testing/tcpreplay/APKBUILD | |
parent | 97ce68156f003a3cbc9ea80c693e737b67d2ad4b (diff) | |
download | aports-f1f22b2e83a10098a5c135eca0530f325e47e830.tar.bz2 aports-f1f22b2e83a10098a5c135eca0530f325e47e830.tar.xz |
testing/tcpreplay: enable checks
Some tests require root to be run, so we disable those tests.
Diffstat (limited to 'testing/tcpreplay/APKBUILD')
-rw-r--r-- | testing/tcpreplay/APKBUILD | 10 |
1 files changed, 8 insertions, 2 deletions
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" |