From 600ec7f1e0c5663d0e468c2aeca28201e6ad388a Mon Sep 17 00:00:00 2001 From: Jeroen Roovers Date: Sat, 9 Sep 2017 11:50:53 +0200 Subject: net-analyzer/tcpdump: Disable nbns-valgrind test (bug #630394). Package-Manager: Portage-2.3.8, Repoman-2.3.3 --- net-analyzer/tcpdump/tcpdump-4.9.2.ebuild | 10 +++++++++- net-analyzer/tcpdump/tcpdump-9999.ebuild | 10 +++++++++- 2 files changed, 18 insertions(+), 2 deletions(-) (limited to 'net-analyzer/tcpdump') diff --git a/net-analyzer/tcpdump/tcpdump-4.9.2.ebuild b/net-analyzer/tcpdump/tcpdump-4.9.2.ebuild index 14502772d423..519960e19cd4 100644 --- a/net-analyzer/tcpdump/tcpdump-4.9.2.ebuild +++ b/net-analyzer/tcpdump/tcpdump-4.9.2.ebuild @@ -43,6 +43,15 @@ pkg_setup() { fi } +src_prepare() { + default + + sed -i -e '/^eapon1/d;' tests/TESTLIST || die + + # bug 630394 + sed -i -e '/^nbns-valgrind/d' tests/TESTLIST || die +} + src_configure() { if use drop-root; then append-cppflags -DHAVE_CAP_NG_H @@ -59,7 +68,6 @@ src_configure() { src_test() { if [[ ${EUID} -ne 0 ]] || ! use drop-root; then - sed -i -e '/^\(espudp1\|eapon1\)/d;' tests/TESTLIST || die emake check else ewarn "If you want to run the test suite, make sure you either" diff --git a/net-analyzer/tcpdump/tcpdump-9999.ebuild b/net-analyzer/tcpdump/tcpdump-9999.ebuild index 6826bbc5e438..0a56c11cfe97 100644 --- a/net-analyzer/tcpdump/tcpdump-9999.ebuild +++ b/net-analyzer/tcpdump/tcpdump-9999.ebuild @@ -47,6 +47,15 @@ pkg_setup() { fi } +src_prepare() { + default + + sed -i -e '/^eapon1/d;' tests/TESTLIST || die + + # bug 630394 + sed -i -e '/^nbns-valgrind/d' tests/TESTLIST || die +} + src_configure() { if use drop-root; then append-cppflags -DHAVE_CAP_NG_H @@ -63,7 +72,6 @@ src_configure() { src_test() { if [[ ${EUID} -ne 0 ]] || ! use drop-root; then - sed -i -e '/^\(espudp1\|eapon1\)/d;' tests/TESTLIST || die emake check else ewarn "If you want to run the test suite, make sure you either" -- cgit v1.2.3-65-gdbad