Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/desktop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorHannah von Reth <hannah.vonreth@owncloud.com>2020-11-26 17:03:11 +0300
committerKevin Ottens <kevin.ottens@nextcloud.com>2020-12-15 12:59:27 +0300
commitbefc373ea6f201cff65ff77f635df22751fbc037 (patch)
tree210f5abc09b11ccb9bd02966c92bb491a4d7ed64 /test
parentdc42ebb793f78fa2c0678c967652b48ae4f0bd2e (diff)
Fix test on systems where C:\ is not writeable
Diffstat (limited to 'test')
-rw-r--r--test/testfolderman.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/testfolderman.cpp b/test/testfolderman.cpp
index 21a475327..66db0128b 100644
--- a/test/testfolderman.cpp
+++ b/test/testfolderman.cpp
@@ -27,6 +27,9 @@ class TestFolderMan: public QObject
private slots:
void testCheckPathValidityForNewFolder()
{
+#ifdef Q_OS_WIN
+ Utility::NtfsPermissionLookupRAII ntfs_perm;
+#endif
QTemporaryDir dir;
ConfigFile::setConfDir(dir.path()); // we don't want to pollute the user's config file
QVERIFY(dir.isValid());