summaryrefslogtreecommitdiff
path: root/test/t/test_dd.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/t/test_dd.py')
-rw-r--r--test/t/test_dd.py8
1 files changed, 7 insertions, 1 deletions
diff --git a/test/t/test_dd.py b/test/t/test_dd.py
index 616f4d4a..be1829d3 100644
--- a/test/t/test_dd.py
+++ b/test/t/test_dd.py
@@ -2,7 +2,13 @@ import pytest
class TestDd:
- @pytest.mark.complete("dd --")
+ @pytest.mark.complete(
+ "dd --",
+ xfail=(
+ "! dd --help &>/dev/null || "
+ "! dd --help 2>&1 | command grep -qF -- --help"
+ ),
+ )
def test_1(self, completion):
assert completion