summaryrefslogtreecommitdiffstats
path: root/tests/auto
diff options
context:
space:
mode:
authorPrasanth Ullattil <prasanth.ullattil@nokia.com>2010-08-25 11:43:10 (GMT)
committerPrasanth Ullattil <prasanth.ullattil@nokia.com>2010-08-25 11:43:10 (GMT)
commitf9b040556368001b367731e7ea65227956952e25 (patch)
treea23387b778b511e295abec60fa4223736143e392 /tests/auto
parent931d47db10ca8b8ebf564c4b6537e31370b7f53c (diff)
downloadQt-f9b040556368001b367731e7ea65227956952e25.zip
Qt-f9b040556368001b367731e7ea65227956952e25.tar.gz
Qt-f9b040556368001b367731e7ea65227956952e25.tar.bz2
Fix QFileSystemEntry autotests for Windows
Reviewed-by: Thomas Zander
Diffstat (limited to 'tests/auto')
-rw-r--r--tests/auto/qfilesystementry/tst_qfilesystementry.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/auto/qfilesystementry/tst_qfilesystementry.cpp b/tests/auto/qfilesystementry/tst_qfilesystementry.cpp
index 081beb6..58b7c6f 100644
--- a/tests/auto/qfilesystementry/tst_qfilesystementry.cpp
+++ b/tests/auto/qfilesystementry/tst_qfilesystementry.cpp
@@ -42,7 +42,7 @@
#include <QtCore/private/qfilesystementry_p.h>
-#if defined(Q_FS_FAT) || defined(Q_OS_OS2EMX) || defined(Q_OS_SYMBIAN)
+#if defined(Q_OS_WIN) || defined(Q_OS_SYMBIAN)
# define WIN_STUFF
#endif
@@ -79,8 +79,8 @@ void tst_QFileSystemEntry::getSetCheck_data()
QTest::newRow("relative")
#if defined(WIN_STUFF)
- << QByteArray("\\in\\a\\dir.tar.gz")
- << "/in/a/dir.tar.gz"
+ << QByteArray("in\\a\\dir.tar.gz")
+ << "in/a/dir.tar.gz"
#else
<< QByteArray("in/a/dir.tar.gz")
<< "in/a/dir.tar.gz"