summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2017-09-09 11:50:53 +0200
committerJeroen Roovers <jer@gentoo.org>2017-09-09 11:51:02 +0200
commit600ec7f1e0c5663d0e468c2aeca28201e6ad388a (patch)
tree368cfaddb3ff89f1b48be9ee698128e5e7d2547d /net-analyzer/tcpdump
parentdev-lang/nim: bump up to 0.17.2 (diff)
downloadgentoo-600ec7f1e0c5663d0e468c2aeca28201e6ad388a.tar.gz
gentoo-600ec7f1e0c5663d0e468c2aeca28201e6ad388a.tar.bz2
gentoo-600ec7f1e0c5663d0e468c2aeca28201e6ad388a.zip
net-analyzer/tcpdump: Disable nbns-valgrind test (bug #630394).
Package-Manager: Portage-2.3.8, Repoman-2.3.3
Diffstat (limited to 'net-analyzer/tcpdump')
-rw-r--r--net-analyzer/tcpdump/tcpdump-4.9.2.ebuild10
-rw-r--r--net-analyzer/tcpdump/tcpdump-9999.ebuild10
2 files changed, 18 insertions, 2 deletions
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"