qt5base-lts/tests/auto/corelib/io
Volker Hilsheimer 3f17029aa1 Fix resolving NTFS symbolic links that point to UNC shares
Without this change, the target of a symbolic link that points to a UNC
share would include UNC in the target path, and not be correctly made
absolute.

Add a relevant test case, and use the opportunity to factor out the
helper code that creates NTFS symlinks into a function that takes
care of error handling.

The file created with the new test case only gets cleaned up correctly
when passing the file path into QDir::rmdir, which is either way the
right thing to do.

[ChangeLog][QtCore][QFileInfo] Fixed resolving of symbolic links to UNC
shares on NTFS file systems.

Change-Id: I9ba75d627aedf7c4cc289f0cb71088d795d30d8a
Fixes: QTBUG-73688
Task-number: QTBUG-63970
Task-number: QTBUG-30401
Task-number: QTBUG-20791
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
2019-04-10 04:53:52 +00:00
..
largefile Fix the fix for mmap() overflow check 2018-07-25 12:40:04 +00:00
qabstractfileengine Filesystem: Use "birth time" to avoid confusion with Unix ctime 2017-08-05 16:41:38 +00:00
qbuffer Updated license headers 2016-01-21 18:55:18 +00:00
qdataurl Updated license headers 2016-01-21 18:55:18 +00:00
qdebug Fix QMetaObject naming of class enum flag 2018-08-11 07:59:15 +00:00
qdir Use a more robust test for absolute paths in QDir 2019-01-13 18:18:10 +00:00
qdiriterator Android: fix qdiriterator test 2018-06-21 14:14:45 +00:00
qfile Reduce redundancy and duplication in tst_QFile::appendAndRead 2018-07-30 15:04:40 +00:00
qfileinfo Fix resolving NTFS symbolic links that point to UNC shares 2019-04-10 04:53:52 +00:00
qfileselector Remove duplicate qnx from the platform file selector names 2017-10-24 16:43:39 +00:00
qfilesystementry Updated license headers 2016-01-21 18:55:18 +00:00
qfilesystemmetadata Filesystem: Use "birth time" to avoid confusion with Unix ctime 2017-08-05 16:41:38 +00:00
qfilesystemwatcher Modernize the "filesystemwatcher" feature 2018-09-27 08:18:55 +00:00
qiodevice Remove QSKIP and bring the test back to business 2018-10-25 11:51:42 +00:00
qipaddress QIpAddress: reject IPv6 addresses with more than 4 hex digits 2018-03-16 00:01:53 +00:00
qlockfile Add cmdline feature to qmake 2019-02-18 07:12:14 +00:00
qloggingcategory Hide global qtlogging.ini from autotest 2018-04-05 05:40:07 +00:00
qloggingregistry Logging: Accept .ini files written by QSettings 2018-07-28 14:43:40 +00:00
qnodebug Fix compilation of qCDebug("", ...) with QT_NO_DEBUG_OUTPUT 2019-03-14 17:15:53 +00:00
qprocess Add cmdline feature to qmake 2019-02-18 07:12:14 +00:00
qprocess-noapplication macOS: Don't build auto-tests as application bundles unless explicitly requested 2016-10-23 10:39:56 +00:00
qprocessenvironment QtCore: Remove Windows CE. 2016-03-30 11:22:47 +00:00
qresourceengine QResourceFileEngine: fix use of mapped files after close() 2018-11-19 09:09:36 +00:00
qsavefile Support Alternate Data Streams in QSaveFile 2017-08-04 17:30:13 +00:00
qsettings Fix QSettings parsing of spaces after comment lines 2018-12-07 18:53:34 +00:00
qstandardpaths Merge remote-tracking branch 'origin/5.11' into 5.12 2018-11-27 01:00:09 +01:00
qstorageinfo tst_qstorageinfo: Don't add extra newlines when printing volumes 2018-03-07 14:26:00 +00:00
qtemporarydir Merge remote-tracking branch 'origin/5.9' into 5.11 2018-02-14 12:51:24 +01:00
qtemporaryfile Merge remote-tracking branch 'origin/5.9' into 5.11 2018-02-14 12:51:24 +01:00
qurl tst_QUrl: Fix left-over temporary directory on Windows 2019-04-08 18:44:25 +00:00
qurlinternal QUrl: fix IDN conversion when the ACE form is invalid 2017-04-25 00:51:43 +00:00
qurlquery Updated license headers 2016-01-21 18:55:18 +00:00
io.pro Modernize the "settings" feature 2018-11-15 17:20:15 +00:00