void-packages/srcpkgs/nextcloud-client/patches/testfolderman-within-chroot.patch
Rodrigo Oliveira e1951e9353 nextcloud-client: update to 3.6.1
Also:
- update testfolderman patch
- add patch to disable update check by default
  this affects new installations only
2022-10-28 22:34:46 +02:00

15 lines
715 B
Diff

is wrong if running within a user's chroot
--- a/test/testfolderman.cpp 2020-09-24 14:51:48.000000000 +0200
+++ b/test/testfolderman.cpp 2020-10-02 20:33:32.248359240 +0200
@@ -127,10 +127,6 @@
// Subfolder of links
QVERIFY(folderman->checkPathValidityForNewFolder(dirPath + "/link1/subfolder").second.isNull());
QVERIFY(folderman->checkPathValidityForNewFolder(dirPath + "/link2/free/subfolder").second.isNull());
-
- // Should not have the rights
- QVERIFY(!folderman->checkPathValidityForNewFolder("/").second.isNull());
- QVERIFY(!folderman->checkPathValidityForNewFolder("/usr/bin/somefolder").second.isNull());
#endif
#ifdef Q_OS_WIN // drive-letter tests