summaryrefslogtreecommitdiff
path: root/test/internals/server-oom.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/internals/server-oom.c')
-rw-r--r--test/internals/server-oom.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/internals/server-oom.c b/test/internals/server-oom.c
index 9aeadd34..4c3ab058 100644
--- a/test/internals/server-oom.c
+++ b/test/internals/server-oom.c
@@ -84,6 +84,11 @@ test_oom_wrapper (gconstpointer data)
{
const OOMTestCase *test = data;
+ if ((g_str_has_prefix (test->data, "tcp:") ||
+ g_str_has_prefix (test->data, "nonce-tcp:")) &&
+ !test_check_tcp_works ())
+ return;
+
if (!_dbus_test_oom_handling (test->name, test->function,
(void *) test->data))
{