qt5base-lts/tests/auto/corelib
Orgad Shaneh 0f11fab6f7 Fix resolution of relative symlinks from relative path on unix
Consider the following:
/root/target - a file
/root/path/link -> ../target
/root/path/other/exe - executable

Running from /root/path/other.

exe is:

#include <QDebug>
#include <QFileInfo>

int main()
{
    qDebug() << QFileInfo("../link").symLinkTarget()
    return 0;
}

The link references /root/target, but the current output is
/root/path/target.

The link doesn't depend on the PWD. It depends on its own directory.

Change-Id: I61e95018154a75e0e0d795ee801068e18870a5df
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
2017-08-27 02:39:57 +00:00
..
animation Blacklist tst_QParallelAnimationGroup::deleteChildrenWithRunningGroup() 2017-06-19 18:33:47 +00:00
codecs tst_utf8: Fix one of the overlong sequences to be what we meant 2017-03-01 12:27:17 +00:00
global qEnvironmentVariableIntValue: fix the case of a non-numeric value 2017-06-01 06:02:10 +00:00
io Fix resolution of relative symlinks from relative path on unix 2017-08-27 02:39:57 +00:00
itemmodels QAbstractItemModel::supportedDragActions: fix regression 2017-05-31 18:54:00 +00:00
json Merge remote-tracking branch 'origin/5.8' into 5.9 2017-03-27 10:42:08 +02:00
kernel Fix race condition in the processEvents test 2017-07-19 12:29:53 +00:00
mimetypes QMimeDatabase: update freedesktop.org.xml to shared-mime-info 1.8 2017-05-08 18:04:24 +00:00
plugin QVariant: implement QByteArray ↔ QUuid conversion 2017-04-14 12:54:21 +00:00
statemachine Merge "Merge remote-tracking branch 'origin/5.6' into dev" into refs/staging/dev 2016-01-26 11:27:37 +00:00
thread Skip QThread stress test on Qemu 2017-07-02 15:58:40 +00:00
tools Return "en" for QLocale::c().bcp47Name() 2017-07-26 08:22:51 +00:00
xml Build examples and tests only if their requirements are met 2017-03-22 15:55:55 +00:00
corelib.pro Add support for Apple tvOS 2016-05-17 16:11:23 +00:00