diff options
Diffstat (limited to 'test/t/test_javaws.py')
-rw-r--r-- | test/t/test_javaws.py | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/test/t/test_javaws.py b/test/t/test_javaws.py index 596c735..4d033c3 100644 --- a/test/t/test_javaws.py +++ b/test/t/test_javaws.py @@ -6,6 +6,12 @@ class TestJavaws: def test_1(self, completion): assert completion - @pytest.mark.complete("javaws -", require_cmd=True) + @pytest.mark.complete( + "javaws -", + require_cmd=True, + xfail=( + "! (javaws -help 2>&1 || :) | " "command grep -q -- '[[:space:]]-'" + ), + ) def test_2(self, completion): assert completion |