mirror of
https://bitbucket.org/smil3y/katie.git
synced 2025-02-23 18:32:55 +00:00
fix QDir::equalityOperator() test for certain hosts
on Debian and Ubuntu /sbin may be symlink Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
b85095d056
commit
2435f71327
1 changed files with 2 additions and 2 deletions
|
@ -1436,8 +1436,8 @@ void tst_QDir::equalityOperator_data()
|
|||
<< "." << "*.cpp" << int(QDir::Name) << int(QDir::Files)
|
||||
<< true;
|
||||
|
||||
//need a path in the root directory that is unlikely to be a symbolic link.
|
||||
QString pathinroot("/sbin/..");
|
||||
// need a path in the root directory that is unlikely to be a symbolic link.
|
||||
QString pathinroot("/boot/..");
|
||||
QTest::newRow("QTBUG-20495-root") << pathinroot << "*.cpp" << int(QDir::Name) << int(QDir::Files)
|
||||
<< QDir::rootPath() << "*.cpp" << int(QDir::Name) << int(QDir::Files)
|
||||
<< true;
|
||||
|
|
Loading…
Add table
Reference in a new issue