diff options
author | Marcin Zdunek <marcin.zdunek@siili.com> | 2023-07-25 12:53:40 +0200 |
---|---|---|
committer | Marcin Zdunek <marcin.zdunek@siili.com> | 2023-07-27 08:46:18 +0200 |
commit | e71693efb9b181ab4f2b450963dbb0ca95b0f3ac (patch) | |
tree | 100769276f9352a3819bd6109c8ac0154d81a5f1 /tests/auto/corelib/io | |
parent | de7eaa940d76d6afb21669b59bb86f83db278b67 (diff) |
Socketpair is not supported on Vxworks
Change-Id: I7cfebfc85933ace1e449860b29c8ec85201690a0
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'tests/auto/corelib/io')
-rw-r--r-- | tests/auto/corelib/io/qfile/tst_qfile.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/auto/corelib/io/qfile/tst_qfile.cpp b/tests/auto/corelib/io/qfile/tst_qfile.cpp index 2f124a34ee..bcbe0f7636 100644 --- a/tests/auto/corelib/io/qfile/tst_qfile.cpp +++ b/tests/auto/corelib/io/qfile/tst_qfile.cpp @@ -2731,12 +2731,16 @@ void tst_QFile::unixFifo() void tst_QFile::socketPair() { +#if defined(Q_OS_VXWORKS) + QSKIP("socketpair is not available on Vxworks"); +#else int pipes[2] = { -1, -1 }; QVERIFY2(socketpair(AF_UNIX, SOCK_STREAM, 0, pipes) == 0, qPrintable(qt_error_string())); unixPipe_helper(pipes); if (pipes[0] != -1) qt_safe_close(pipes[0]); qt_safe_close(pipes[1]); +#endif } #endif |