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:
Sergio Ahumada 2012-10-22 14:08:01 +02:00 committed by The Qt Project
parent b016597db8
commit ead0e0029a

View File

@ -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)