path: root/tests/auto/corelib/io/qfile/tst_qfile.cpp
diff options
authorThiago Macieira <>2017-07-26 10:35:55 -0700
committerThiago Macieira <>2017-07-27 15:42:55 +0000
commit7c45c6a3c44f73aac5a7422ce66235bf32b510e3 (patch)
tree34f400fc32b8e239dfd689e85f268ba54f080af1 /tests/auto/corelib/io/qfile/tst_qfile.cpp
parent5303225aef739c534714c1ac1d4dd096f0cc38d0 (diff)
Revert "Make QFile::open fail when using an invalid file name"
This reverts commit 346cd79192ef71afa572812e17f1d422594651a0. The bug report was incorrect, since the suggested file name is actually valid, it just happens to name an Alternate Data Stream (ADS) "20:803Z.txt" in file "testLog-03". [ChangeLog][QtCore][QFile] Reverted an incorrect change from Qt 5.9.0 that forbade the creation and access to Alternate Data Streams on NTFS on Windows. This means that file names containing a colon (':') are allowed again, but note that they are not regular files. Task-number: QTBUG-57023 Change-Id: I81480fdb578d4d43b3fcfffd14d4f2147e8a0ade Reviewed-by: Oswald Buddenhagen <> Reviewed-by: Kai Koehne <> Reviewed-by: Jesus Fernandez <>
Diffstat (limited to 'tests/auto/corelib/io/qfile/tst_qfile.cpp')
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/auto/corelib/io/qfile/tst_qfile.cpp b/tests/auto/corelib/io/qfile/tst_qfile.cpp
index c7216dc169..32165ad2b8 100644
--- a/tests/auto/corelib/io/qfile/tst_qfile.cpp
+++ b/tests/auto/corelib/io/qfile/tst_qfile.cpp
@@ -1155,7 +1155,6 @@ void tst_QFile::invalidFile_data()
#if !defined(Q_OS_WINRT)
QTest::newRow( "colon2" ) << invalidDriveLetter() + QString::fromLatin1(":ail:invalid");
- QTest::newRow( "date" ) << QString( "testLog-03:20.803Z.txt" );
QTest::newRow( "colon3" ) << QString( ":failinvalid" );
QTest::newRow( "forwardslash" ) << QString( "fail/invalid" );