summaryrefslogtreecommitdiffstats
path: root/tests/auto/qfile
diff options
context:
space:
mode:
authorJoão Abecasis <joao.abecasis@nokia.com>2010-11-30 19:50:48 (GMT)
committerJoão Abecasis <joao.abecasis@nokia.com>2010-11-30 19:54:17 (GMT)
commit16252a59afa58b0cb4b0ffb02a330dcf002c9750 (patch)
treea0541667de04338b0b913159632798a9e764fd3a /tests/auto/qfile
parentbe03dc12478085b3d8ec92a87fe12234169dce3d (diff)
downloadQt-16252a59afa58b0cb4b0ffb02a330dcf002c9750.zip
Qt-16252a59afa58b0cb4b0ffb02a330dcf002c9750.tar.gz
Qt-16252a59afa58b0cb4b0ffb02a330dcf002c9750.tar.bz2
Fix tst_QFile::caseSensitivity test on Mac
Mac's default file system is case-preserving, but case-insensitive, otherwise.
Diffstat (limited to 'tests/auto/qfile')
-rw-r--r--tests/auto/qfile/tst_qfile.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/qfile/tst_qfile.cpp b/tests/auto/qfile/tst_qfile.cpp
index d561f53..a8715e2 100644
--- a/tests/auto/qfile/tst_qfile.cpp
+++ b/tests/auto/qfile/tst_qfile.cpp
@@ -3199,7 +3199,7 @@ void tst_QFile::platformSecurity()
void tst_QFile::caseSensitivity()
{
-#if defined(Q_OS_SYMBIAN) || defined(Q_OS_WIN)
+#if defined(Q_OS_SYMBIAN) || defined(Q_OS_WIN) || defined(Q_OS_MAC)
const bool caseSensitive = false;
#else
const bool caseSensitive = true;