From cd6136399ef160c09d8bd595779a8268b1be7367 Mon Sep 17 00:00:00 2001 From: Ryo Nakamura Date: Sat, 15 Nov 2025 22:43:36 +0900 Subject: [PATCH] test: fix test_bind_ng for alpine alpine outputs different error message for bind from other distros. --- test/test_e2e.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/test_e2e.py b/test/test_e2e.py index 56a7ea0..e63c50c 100644 --- a/test/test_e2e.py +++ b/test/test_e2e.py @@ -431,7 +431,8 @@ def test_bind_ng(mscp, src_prefix, dst_prefix): """Bind to invalid address should fail.""" out = run2ng([mscp, "-vvv", "-ddd", "-B", "192.168.10.10", src_prefix + "src", dst_prefix + "dst"]) - assert "Cannot assign requested address" in out + assert ("Cannot assign requested address" in out or + "Address not available" in out) @pytest.mark.parametrize("src_prefix, dst_prefix", param_remote_prefix)