diff options
author | David Faure <faure@kde.org> | 2017-12-02 10:18:12 +0100 |
---|---|---|
committer | David Faure <faure@kde.org> | 2017-12-02 10:18:18 +0100 |
commit | 7d802e39d56bd9eb9cf28f629a3d0b94a85dd4bb (patch) | |
tree | 44605ee221df0279204ec133ea916718b526374b /autotests/test_kconfigutils.cpp | |
parent | 62dd178d783ca08ebe757813fa3f31cfd3d2009a (diff) | |
download | kconfig-7d802e39d56bd9eb9cf28f629a3d0b94a85dd4bb.tar.gz kconfig-7d802e39d56bd9eb9cf28f629a3d0b94a85dd4bb.tar.bz2 |
KConfig: fix autotest on CI with trailing slash in HOME.
Summary:
The CI has $HOME=/home/jenkins/ with a trailing slash, which leads to
FAIL! : KConfigTest::testPath() Compared values are not the same
Actual (sc3.readPathEntry("homepath", QString())): "/home/jenkins//foo"
Expected (HOMEPATH): "/home/jenkins/foo"
QDir::homePath() is too clean for our purposes, use $HOME on Unix.
Test Plan:
kconfigtest now passes with HOME=/home/dfaure/
Diffstat (limited to 'autotests/test_kconfigutils.cpp')
0 files changed, 0 insertions, 0 deletions