diff --git a/test/t/test_ifdown.py b/test/t/test_ifdown.py index 274461de755..f36456c1c6d 100644 --- a/test/t/test_ifdown.py +++ b/test/t/test_ifdown.py @@ -11,7 +11,7 @@ class TestIfdown: reason="There won't be any configured interfaces without network", ) @pytest.mark.xfail(in_container(), reason="Probably fails in a container") - @pytest.mark.complete("ifdown ") + @pytest.mark.complete("ifdown ", require_cmd=True) def test_1(self, completion): assert completion diff --git a/test/t/test_ifup.py b/test/t/test_ifup.py index 86c66465551..36752703e8f 100644 --- a/test/t/test_ifup.py +++ b/test/t/test_ifup.py @@ -11,7 +11,7 @@ class TestIfup: reason="There won't be any configured interfaces without network", ) @pytest.mark.xfail(in_container(), reason="Probably fails in a container") - @pytest.mark.complete("ifup ") + @pytest.mark.complete("ifup ", require_cmd=True) def test_1(self, completion): assert completion diff --git a/test/test-cmd-list.txt b/test/test-cmd-list.txt index 4a0923e1230..f9952254e03 100644 --- a/test/test-cmd-list.txt +++ b/test/test-cmd-list.txt @@ -149,6 +149,7 @@ hwclock iconv identify idn +ifdown ifstat iftop ifup