diff options
-rw-r--r-- | tests/auto/corelib/io/qstorageinfo/tst_qstorageinfo.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/auto/corelib/io/qstorageinfo/tst_qstorageinfo.cpp b/tests/auto/corelib/io/qstorageinfo/tst_qstorageinfo.cpp index fc2ffb02a9..2190c32c01 100644 --- a/tests/auto/corelib/io/qstorageinfo/tst_qstorageinfo.cpp +++ b/tests/auto/corelib/io/qstorageinfo/tst_qstorageinfo.cpp @@ -105,9 +105,11 @@ void tst_QStorageInfo::root() QVERIFY(storage.isRoot()); QVERIFY(!storage.device().isEmpty()); QVERIFY(!storage.fileSystemType().isEmpty()); +#ifndef Q_OS_HAIKU QVERIFY(storage.bytesTotal() > 0); QVERIFY(storage.bytesFree() > 0); QVERIFY(storage.bytesAvailable() > 0); +#endif } void tst_QStorageInfo::currentStorage() |