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

github.com/owncloud/client.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
committerHannah von Reth <vonreth@kde.org>2020-11-27 00:50:04 +0300
commit6f3de508c5c1b1dfbcf444756ae66ba46806389b (patch)
tree25d7c3e09869bd2b3993448a52500a8fddbff354 /test
parent7b823557034ffc7d10b919c0e49288ca030b3015 (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 6e92aa092..feb36d751 100644
--- a/test/testfolderman.cpp
+++ b/test/testfolderman.cpp
@@ -47,6 +47,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());