--- bash-completion-2.9/test/t/test_getconf.py.old	2019-07-12 01:03:00.331419016 +0000
+++ bash-completion-2.9/test/t/test_getconf.py	2019-07-12 04:15:53.176145140 +0000
@@ -2,7 +2,9 @@
 
 
 class TestGetconf:
-    @pytest.mark.complete("getconf P")
+    @pytest.mark.complete(
+        "getconf P", skipif="! getconf -a 2>&1 | command grep -q ^POSIX_V"
+    )
     def test_1(self, completion):
         assert completion