summaryrefslogtreecommitdiff
path: root/test/t/test_make.py
diff options
context:
space:
mode:
authorGabriel F. T. Gomes <gabriel@inconstante.net.br>2020-01-24 19:24:09 -0300
committerGabriel F. T. Gomes <gabriel@inconstante.net.br>2020-01-24 19:24:09 -0300
commit019f3cc463db63abc6460f97deb488deec43840b (patch)
tree08cd5387d6c8af6f688d6468c7e2ae9f25c449be /test/t/test_make.py
parent5732da2af736c40cf693354485446ab4867ecb4d (diff)
downloadbash-completion-upstream/2.10.tar.gz
New upstream version 2.10upstream/2.10
Diffstat (limited to 'test/t/test_make.py')
-rw-r--r--test/t/test_make.py8
1 files changed, 6 insertions, 2 deletions
diff --git a/test/t/test_make.py b/test/t/test_make.py
index 9c76f83c..e6e043cd 100644
--- a/test/t/test_make.py
+++ b/test/t/test_make.py
@@ -2,7 +2,7 @@ import os
import pytest
-from conftest import in_docker
+from conftest import in_container
class TestMake:
@@ -35,7 +35,7 @@ class TestMake:
os.remove("%s/make/%s" % (bash.cwd, "extra_makefile"))
@pytest.mark.xfail(
- in_docker() and os.environ.get("DIST") == "centos6",
+ in_container() and os.environ.get("DIST") == "centos6",
reason="Fails for some unknown reason on CentOS 6, "
"even though the behavior appears to be correct",
)
@@ -48,3 +48,7 @@ class TestMake:
def test_8(self, bash, completion):
assert completion == "all clean extra_makefile install sample".split()
os.remove("%s/make/%s" % (bash.cwd, "extra_makefile"))
+
+ @pytest.mark.complete("make -", require_cmd=True)
+ def test_9(self, completion):
+ assert completion