net-analyzer/tcpdump: Disable nbns-valgrind test (bug #630394).
authorJeroen Roovers <jer@gentoo.org>
Sat, 9 Sep 2017 09:50:53 +0000 (11:50 +0200)
committerJeroen Roovers <jer@gentoo.org>
Sat, 9 Sep 2017 09:51:02 +0000 (11:51 +0200)
Package-Manager: Portage-2.3.8, Repoman-2.3.3

net-analyzer/tcpdump/tcpdump-4.9.2.ebuild
net-analyzer/tcpdump/tcpdump-9999.ebuild

index 14502772d4233f6a6848ad951c4f693d6cec20f0..519960e19cd44c834189c3d4be4fa72682ca8d19 100644 (file)
@@ -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"
index 6826bbc5e4387bb3f32f59c33faa2cd3f30a7fc9..0a56c11cfe9793e9738a206b421d39923bd1a327 100644 (file)
@@ -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"