Skip to content

Commit b2cb26a

Browse files
committed
Test for "ping" working in the busybox container (bsc#1239176)
1 parent 255fc90 commit b2cb26a

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

tests/test_busybox.py

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,18 @@ def test_base32_64(auto_container):
9292
)
9393

9494

95+
@pytest.mark.skipif(
96+
OS_VERSION in ("15.6", "15.7"),
97+
reason="supporting rootless ping is considered a feature and ECO still pending.",
98+
)
99+
def test_ping(auto_container):
100+
"""Ensure ping command works in a busybox container"""
101+
assert (
102+
"--- www.suse.com ping statistics"
103+
in auto_container.connection.check_output("ping -4 -c 2 www.suse.com")
104+
)
105+
106+
95107
@pytest.mark.parametrize(
96108
"container_per_test", [BUSYBOX_CONTAINER], indirect=True
97109
)

0 commit comments

Comments
 (0)