summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJens Georg <mail@jensge.org>2022-08-16 11:05:31 +0200
committerJens Georg <mail@jensge.org>2022-08-16 11:10:39 +0200
commitfba0ca75445189f6554bd66fb3aa4f022b8f69e9 (patch)
treeda3361f95de1f852ec25a255e7a1b76bb1251bb7
parent771e6fb914f21a894fc70f4d815d21f642bbddf2 (diff)
downloadgupnp-fba0ca75445189f6554bd66fb3aa4f022b8f69e9.tar.gz
tests: Do not rely on soup's messages
Only check for our part of the warning, do not consider upstream texts to be stable
-rw-r--r--tests/test-context.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/test-context.c b/tests/test-context.c
index 2dda7f7..12a9914 100644
--- a/tests/test-context.c
+++ b/tests/test-context.c
@@ -272,7 +272,7 @@ test_gupnp_context_error_when_bound ()
g_test_expect_message (
"gupnp-context",
G_LOG_LEVEL_WARNING,
- "*Unable to listen*Could not listen*Address already in use*");
+ "*Unable to listen*");
GUPnPContext *context = g_initable_new (GUPNP_TYPE_CONTEXT,
NULL,
&error,
@@ -300,8 +300,7 @@ test_gupnp_context_error_when_bound ()
g_test_expect_message ("gupnp-context",
G_LOG_LEVEL_WARNING,
- "*Unable to listen*Could not "
- "listen*Address already in use*");
+ "*Unable to listen*");
context = g_initable_new (GUPNP_TYPE_CONTEXT,
NULL,
&error,