commit:     273e727ed0ca29d6b99e6c8e281a5d20e3d25547
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Wed Apr 24 11:55:24 2024 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Wed Apr 24 11:56:02 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=273e727e

dev-ruby/pcaprub: avoid tests that require network or devices

Closes: https://bugs.gentoo.org/930535
Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>

 dev-ruby/pcaprub/pcaprub-0.13.2.ebuild | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/dev-ruby/pcaprub/pcaprub-0.13.2.ebuild 
b/dev-ruby/pcaprub/pcaprub-0.13.2.ebuild
index db30184a51d2..f06aad2bf9b2 100644
--- a/dev-ruby/pcaprub/pcaprub-0.13.2.ebuild
+++ b/dev-ruby/pcaprub/pcaprub-0.13.2.ebuild
@@ -43,11 +43,14 @@ all_ruby_prepare() {
 
        sed -i -e '/coveralls/Id' test/test_helper.rb || die
 
-       # Tests which need escalated privileges
+       # Tests which need escalated privileges, network interfaces or other 
devices
        local privileged_tests=(
                test_set_datalink
                test_create_from_primitives
                test_filter
+               test_lookupdev
+               test_lookupnet
+               test_monitor
                test_pcap_stats
                test_pcap_datalink
                test_pcap_inject

Reply via email to