diff --git a/test/t/test_getconf.py b/test/t/test_getconf.py index 6f9192d2517..96713dbe4ce 100644 --- a/test/t/test_getconf.py +++ b/test/t/test_getconf.py @@ -14,7 +14,9 @@ def test_2(self, completion): def test_3(self, completion): assert completion - @pytest.mark.complete("getconf -v ") + @pytest.mark.complete( + "getconf -v ", skipif="! getconf -a 2>&1 | command grep -q ^POSIX_V" + ) def test_4(self, completion): assert completion