summaryrefslogtreecommitdiff
path: root/test/t/test_arpspoof.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/t/test_arpspoof.py')
-rw-r--r--test/t/test_arpspoof.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/test/t/test_arpspoof.py b/test/t/test_arpspoof.py
index c8955f8d..74c09a43 100644
--- a/test/t/test_arpspoof.py
+++ b/test/t/test_arpspoof.py
@@ -2,6 +2,11 @@ import pytest
class TestArpspoof:
- @pytest.mark.complete("arpspoof -", require_cmd=True)
+ @pytest.mark.complete(
+ "arpspoof -",
+ require_cmd=True,
+ # May require privileges even for outputting the usage message
+ skipif="arpspoof 2>&1 | command grep -qF libnet_open_link",
+ )
def test_1(self, completion):
assert completion