void-packages/srcpkgs/nextcloud-client/patches/testfolderman-within-chroot.patch
yopito 9fecd0445a nextcloud-client: update to 3.0.2, enable e2e encryption, enable testing
close issue #25216 :
EVP_PKEY_CTX_set_rsa_oaep_md, needed by e2e, is supported since LibreSSL 3.1
see https://github.com/libressl-portable/portable/issues/547
2020-10-24 14:08:03 +02:00

16 lines
668 B
Diff

is wrong if running within a chroot
--- test/testfolderman.cpp.ORIG 2020-09-24 14:51:48.000000000 +0200
+++ test/testfolderman.cpp 2020-10-02 20:33:32.248359240 +0200
@@ -119,10 +119,6 @@
// Subfolder of links
QVERIFY(folderman->checkPathValidityForNewFolder(dirPath + "/link1/subfolder").isNull());
QVERIFY(folderman->checkPathValidityForNewFolder(dirPath + "/link2/free/subfolder").isNull());
-
- // Should not have the rights
- QVERIFY(!folderman->checkPathValidityForNewFolder("/").isNull());
- QVERIFY(!folderman->checkPathValidityForNewFolder("/usr/bin/somefolder").isNull());
#endif
// Invalid paths