Haiku: Adapt tst_qdir unit test to Haiku

Use an existing, non-symlinked directory for the unit test.

Change-Id: Ice9976a4fd10c42c3cb014614ccd699bcea1065f
Reviewed-by: Augustin Cavalier <waddlesplash@gmail.com>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
bb10
Tobias Koenig 2015-01-29 11:09:15 +00:00
parent 7b9b54b114
commit 9c5b555bac
1 changed files with 2 additions and 0 deletions

View File

@ -2057,6 +2057,8 @@ void tst_QDir::equalityOperator_data()
QString pathinroot("c:/windows/..");
#elif defined(Q_OS_ANDROID) && !defined(Q_OS_ANDROID_NO_SDK)
QString pathinroot("/system/..");
#elif defined(Q_OS_HAIKU)
QString pathinroot("/boot/..");
#else
QString pathinroot("/usr/..");
#endif