summaryrefslogblamecommitdiff
path: root/user/bash-completion/fix-tests.patch
blob: b0a3a364129e320ef591c99ce7ac389e22b14d9e (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13












                                                                                           
--- 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