qt6-bb10/tests/auto/corelib
Ivan Solovev fb1dcbfcba QSharedMemory: fix attach() -> create() for legacy SystemV mode
The attach() -> create() sequence was not covered by unit-tests in
qtbase, but this approach is used inside QSharedImageLoader.

It turns out that 02c42b26e1 broke this
usecase for legacy mode, and the create() triggered an assertion
in QSharedMemorySystemV::updateNativeKeyFile(). Fix it by clearing
the nativeKeyFile if ftok() call in QSharedMemorySystemV::handle()
fails().

Add unit-tests for the attach() -> create() scenario.
These tests revealed that this scenario fails also in non-legacy mode
for SystemV, so add QEXPECT_FAIL for these cases for now. This will
be addressed in a separate patch.

Pick-to: 6.6
Change-Id: If133fa56c82eba902374dc48d2757046b3d40baf
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
2023-11-07 15:43:05 +01:00
..
animation QSequentialAnimationGroup: extend bindable property unit tests 2023-09-03 18:20:21 +02:00
global is_virtual_base_of: suppress warnings in the test 2023-09-28 09:40:23 +02:00
io tests: skip setPermissions test if running as root 2023-11-03 11:00:11 +02:00
ipc QSharedMemory: fix attach() -> create() for legacy SystemV mode 2023-11-07 15:43:05 +01:00
itemmodels QItemSelectionModel: don't warn when destroying the model 2023-09-22 01:42:45 +02:00
kernel JNI: allow QString as a parameter to native methods 2023-11-07 01:59:51 +08:00
mimetypes QMimeType: simplify implementation of filterString 2023-09-13 23:27:44 +02:00
platform Android: add an appless test that recreates QGuiApplication 2023-10-26 20:04:51 +02:00
plugin QTemporaryFile(Name): don't make the path absolute on generation 2023-10-26 11:36:46 -07:00
serialization wasm: Fix test runner for asynchronous tests 2023-10-26 13:43:39 +02:00
text QLocal8Bit::convertToUnicode[win]: Support stateless flag 2023-11-06 18:23:19 +01:00
thread wasm: Fix test runner for asynchronous tests 2023-10-26 13:43:39 +02:00
time QTimeZone(qint32 offsetSeconds): use IANA ID when one is available 2023-11-03 18:27:14 +01:00
tools QSP/QWP: introduce owner_before, owner_equal, owner_hash 2023-10-26 19:24:40 +02:00
CMakeLists.txt tests: Remove remains of qmake conversion from CMakeLists.txt files 2023-02-17 21:56:49 +01:00