qt6-bb10/tests/auto/widgets/dialogs
Tor Arne Vestbø e336111a5d tests: Explicitly check for pathconf(_PC_CASE_SENSITIVE) == 1
We use pathconf in some of our tests to determine if the file system
on Darwin is case sensitive. But pathconf returns -1 if the case
sensitivity can't be determined, with errno set to ENOTSUP.

The convention in this case is to treat the file system as not being
case sensitive (as reported by NSURLVolumeSupportsCaseSensitiveNamesKey
and VOL_CAP_FMT_CASE_SENSITIVE in equivalent APIs), so we need to check
explicitly for a return value of 1.

Change-Id: I1107e849babd8813da3b148c92494e8e35a32d36
Reviewed-by: Liang Qi <liang.qi@qt.io>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
(cherry picked from commit bd3aabf38454087a96a17ff0130d7f5c2b2b39a9)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2024-09-23 19:36:53 +00:00
..
qcolordialog QDialogs: prevent crash in static get*() functions when parent gets deleted 2024-09-16 16:13:47 +00:00
qdialog Change license for tests files 2024-02-04 09:56:42 +01:00
qerrormessage Change license for tests files 2024-02-04 09:56:42 +01:00
qfiledialog tests: Explicitly check for pathconf(_PC_CASE_SENSITIVE) == 1 2024-09-23 19:36:53 +00:00
qfiledialog2 QDialogs: prevent crash in static get*() functions when parent gets deleted 2024-09-16 16:13:47 +00:00
qfontdialog QDialogs: prevent crash in static get*() functions when parent gets deleted 2024-09-16 16:13:47 +00:00
qinputdialog Change license for tests files 2024-02-04 09:56:42 +01:00
qmessagebox Return button index for deprecated QMessageBox APIs 2024-06-06 10:37:23 +00:00
qprogressdialog Change license for tests files 2024-02-04 09:56:42 +01:00
qsidebar Change license for tests files 2024-02-04 09:56:42 +01:00
qwizard Change license for tests files 2024-02-04 09:56:42 +01:00
CMakeLists.txt tests: Remove remains of qmake conversion from CMakeLists.txt files 2023-02-17 21:56:49 +01:00