diff options
author | Jens Georg <mail@jensge.org> | 2022-08-16 11:05:31 +0200 |
---|---|---|
committer | Jens Georg <mail@jensge.org> | 2022-08-16 11:10:39 +0200 |
commit | fba0ca75445189f6554bd66fb3aa4f022b8f69e9 (patch) | |
tree | da3361f95de1f852ec25a255e7a1b76bb1251bb7 | |
parent | 771e6fb914f21a894fc70f4d815d21f642bbddf2 (diff) | |
download | gupnp-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.c | 5 |
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, |