void-packages/srcpkgs/qt6-base/patches/zfs-storage.patch

21 lines
813 B
Diff

--- a/tests/auto/corelib/io/qstorageinfo/tst_qstorageinfo.cpp
+++ b/tests/auto/corelib/io/qstorageinfo/tst_qstorageinfo.cpp
@@ -190,6 +190,8 @@ void tst_QStorageInfo::tempFile()
#ifdef Q_OS_LINUX
if (storage1.fileSystemType() == "btrfs")
QSKIP("This test doesn't work on btrfs, probably due to a btrfs bug");
+ if (storage1.fileSystemType() == "zfs")
+ QSKIP("This test doesn't work on zfs");
#endif
qint64 free = storage1.bytesFree();
@@ -216,6 +218,8 @@ void tst_QStorageInfo::caching()
#ifdef Q_OS_LINUX
if (storage1.fileSystemType() == "btrfs")
QSKIP("This test doesn't work on btrfs, probably due to a btrfs bug");
+ if (storage1.fileSystemType() == "zfs")
+ QSKIP("This test doesn't work on zfs");
#endif
qint64 free = storage1.bytesFree();