Fix test for the case where the plasma src dir contains a symlink
This commit is contained in:
parent
026c185eb1
commit
9d7aedfcd4
@ -156,8 +156,8 @@ void PackageStructureTest::path()
|
||||
{
|
||||
qDebug() << "real paths are" << ps.filePath("images") << ps.filePath("mainscript");
|
||||
qDebug() << "we wants" << QString(m_packagePath + QString("contents/images")) << QString(m_packagePath + QString("contents/code/main.js"));
|
||||
QCOMPARE(ps.filePath("images"), QString(m_packagePath + QString("contents/images")));
|
||||
QCOMPARE(ps.filePath("mainscript"), QString(m_packagePath + QString("contents/code/main.js")));
|
||||
QCOMPARE(ps.filePath("images"), QFileInfo(m_packagePath + QString("contents/images")).canonicalFilePath());
|
||||
QCOMPARE(ps.filePath("mainscript"), QFileInfo(m_packagePath + QString("contents/code/main.js")).canonicalFilePath());
|
||||
}
|
||||
|
||||
void PackageStructureTest::name()
|
||||
|
Loading…
Reference in New Issue
Block a user