test: Fix tst_QDir.equalityOperator()
On Fedora 17 /sbin/ is a symlink now, so this test fails there. Using /usr/ instead. Change-Id: Ie35902fc093101191bdbf33324e20835d1da1528 Reviewed-by: Caroline Chao <caroline.chao@digia.com>
This commit is contained in:
parent
b016597db8
commit
ead0e0029a
@ -1869,7 +1869,7 @@ void tst_QDir::equalityOperator_data()
|
||||
#if defined (Q_OS_WIN)
|
||||
QString pathinroot("c:/windows/..");
|
||||
#else
|
||||
QString pathinroot("/sbin/..");
|
||||
QString pathinroot("/usr/..");
|
||||
#endif
|
||||
QTest::newRow("QTBUG-20495-root") << pathinroot << "*.cpp" << int(QDir::Name) << int(QDir::Files)
|
||||
<< QDir::rootPath() << "*.cpp" << int(QDir::Name) << int(QDir::Files)
|
||||
|
Loading…
Reference in New Issue
Block a user