qt6-bb10/tests/auto/corelib
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
..
animation Extend blacklisting of tst_qparallelanimationgroup tests to macOS 10.13 2018-09-24 21:13:30 +00:00
codecs Add tests for decoding too-short UTF-8 sequences 2018-09-25 22:14:07 +00:00
global Add cmdline feature to qmake 2019-02-18 07:12:14 +00:00
io Fix resolving NTFS symbolic links that point to UNC shares 2019-04-10 04:53:52 +00:00
itemmodels Fix tree recursion in QAbstractItemModel::match() 2019-03-22 08:01:35 +00:00
kernel Fix QMetaObject::newInstance on non-QObject meta object 2019-04-09 15:46:35 +00:00
mimetypes QMimeType: Use default key as fallback for comment() property 2018-11-02 08:27:10 +00:00
plugin Fix build with -no-gui on macOS 2019-03-04 12:25:53 +00:00
serialization QPixmap: More safe failing if qApp is not a QGuiApplication 2019-03-22 08:06:43 +00:00
statemachine tst_QStateMachine: Don't use unconditional waits 2018-04-04 07:07:40 +00:00
thread Add cmdline feature to qmake 2019-02-18 07:12:14 +00:00
tools Fix various uncommon cases in QTzTimeZonePrivate backend 2019-04-05 20:31:26 +00:00
corelib.pro Create corelib/serialization and move existing file formats into it 2018-01-26 20:59:50 +00:00