[gupnp] tests: Do not rely on soup's messages
- From: Jens Georg <jensgeorg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gupnp] tests: Do not rely on soup's messages
- Date: Tue, 16 Aug 2022 09:12:02 +0000 (UTC)
commit fba0ca75445189f6554bd66fb3aa4f022b8f69e9
Author: Jens Georg <mail jensge org>
Date: Tue Aug 16 11:05:31 2022 +0200
tests: Do not rely on soup's messages
Only check for our part of the warning, do not consider upstream
texts to be stable
tests/test-context.c | 5 ++---
1 file 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,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]