qt6-bb10/tests/auto/corelib/io
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
..
largefile Limit size of large files test for VxWorks 2024-05-16 14:04:41 +02:00
qabstractfileengine QDirListing: add flags to handle entries filtering 2024-06-27 01:31:40 +00:00
qbuffer Change license for tests files 2024-02-04 09:56:42 +01:00
qdataurl Change license for tests files 2024-02-04 09:56:42 +01:00
qdebug QDebug: cast the QFlags value to the right-sized unsigned type (2/2) 2024-08-12 09:43:38 +00:00
qdir QDir: change qt_{cleanPath,normalizePathSegments} to returning bool 2024-09-14 16:37:12 +00:00
qdiriterator Disable copy and move of QAbstractFileEngineHandler 2024-04-19 13:56:35 +02:00
qdirlisting QDirListing: make end() return a sentinel 2024-09-03 18:06:32 +00:00
qfile tests: Explicitly check for pathconf(_PC_CASE_SENSITIVE) == 1 2024-09-23 19:36:53 +00:00
qfileinfo tests: Explicitly check for pathconf(_PC_CASE_SENSITIVE) == 1 2024-09-23 19:36:53 +00:00
qfileselector Handle VxWorks in QFileSelector 2024-06-19 14:02:58 +00:00
qfilesystementry Change license for tests files 2024-02-04 09:56:42 +01:00
qfilesystemmetadata Change license for tests files 2024-02-04 09:56:42 +01:00
qfilesystemwatcher Fix tst_QFileSysteMWatcher::basicTest on VxWorks 2024-05-15 18:22:39 +02:00
qiodevice Tests: check the output of QFile::open 2024-03-27 04:24:11 +01:00
qipaddress Change license for tests files 2024-02-04 09:56:42 +01:00
qlockfile Change license for tests files 2024-02-04 09:56:42 +01:00
qloggingcategory Change license for tests files 2024-02-04 09:56:42 +01:00
qloggingregistry Change license for tests files 2024-02-04 09:56:42 +01:00
qnodebug Change license for tests files 2024-02-04 09:56:42 +01:00
qprocess tst_QProcess: silence -Wunused-result 2024-06-18 08:09:23 +00:00
qprocess-noapplication Change license for tests files 2024-02-04 09:56:42 +01:00
qprocessenvironment Skip tst_QProcessEnvironment::systemEnvironment on VxWorks 2024-05-28 15:22:20 +02:00
qresourceengine Add copyright and licensing to .cpp and .h files missing them 2024-05-28 09:47:01 +02:00
qsavefile QSaveFile: don't reset fileEngine after commit() 2024-04-26 18:19:39 +02:00
qsettings tests: Explicitly check for pathconf(_PC_CASE_SENSITIVE) == 1 2024-09-23 19:36:53 +00:00
qstandardpaths wasm: Enable qstandardpaths test 2024-05-06 16:01:28 +02:00
qstorageinfo tst_QStorageInfo: port from qvsnprintf to std::vsnprintf() 2024-07-22 21:00:12 +00:00
qtemporarydir tst_qtemporarydir: refactor a test 2024-03-21 05:49:54 +02:00
qtemporaryfile tests: Fix tst_qtemporaryfile to use temporary file 2024-05-29 15:24:25 +03:00
qurl QUrl: Keep one trailing slash when normalizing "file:///b/." 2024-09-19 15:09:46 +00:00
qurlinternal Change license for tests files 2024-02-04 09:56:42 +01:00
qurlquery QTest: rip out qxp::function_ref from compare_helper() 2024-04-26 18:19:36 +02:00
qurluts46 QUrl IDNA: Update to Unicode 15.1 2024-02-08 17:43:58 +01:00
qzip Change license for tests files 2024-02-04 09:56:42 +01:00
CMakeLists.txt tst_QSettings: port to QTEST_THROW_ON_FAIL 2024-06-27 06:06:02 +00:00