diff options
author | Brett Stottlemyer <bstottle@ford.com> | 2021-08-25 08:45:44 -0400 |
---|---|---|
committer | Brett Stottlemyer <bstottle@ford.com> | 2021-08-31 16:01:54 -0400 |
commit | 9e221d546a0dd4d1cb493cd093f98c07ec650f5c (patch) | |
tree | eec38940a4fab5cabe3a8762f1f0be8b8f94a1f0 /tests/auto/integration/tst_integration.cpp | |
parent | 02cda2580d3659a4c4f519de92fcce7b50676948 (diff) |
Provide a schema for abstract local sockets
Adds 'localabstract' schema, an extension of the 'local' schema.
An abstract Unix domain socket (which is a non-portable Linux extension)
avoids creating a file handle for local socket communication. This
allows abstract sockets to run on systems that are non-writable, in
particular Android environments.
Pick-to: 6.2
Fixes: QTBUG-96006
Change-Id: I9f7f7854708264c38d05d704f3569bcc9e46cfbf
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Sona Kurazyan <sona.kurazyan@qt.io>
Reviewed-by: Michael Brasser <michael.brasser@live.com>
Diffstat (limited to 'tests/auto/integration/tst_integration.cpp')
-rw-r--r-- | tests/auto/integration/tst_integration.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/auto/integration/tst_integration.cpp b/tests/auto/integration/tst_integration.cpp index 32445c4..e9d04b3 100644 --- a/tests/auto/integration/tst_integration.cpp +++ b/tests/auto/integration/tst_integration.cpp @@ -215,6 +215,9 @@ private slots: QTest::newRow("qnx") << QUrl(QLatin1String("qnx:replica")) << QUrl(QLatin1String("qnx:registry")); #endif QTest::newRow("local") << QUrl(QLatin1String("local:replicaLocalIntegration")) << QUrl(QLatin1String("local:registryLocalIntegration")); +#ifdef Q_OS_LINUX + QTest::newRow("localabstract") << QUrl(QLatin1String("localabstract:replicaAbstractIntegration")) << QUrl(QLatin1String("localabstract:registryAbstractIntegration")); +#endif QTest::newRow("external") << QUrl() << QUrl(); } |