diff options
Diffstat (limited to 'test/t/test_make.py')
-rw-r--r-- | test/t/test_make.py | 8 |
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 |