diff options
author | Hannah von Reth <hannah.vonreth@owncloud.com> | 2020-11-26 17:03:11 +0300 |
---|---|---|
committer | Hannah von Reth <vonreth@kde.org> | 2020-11-27 00:50:04 +0300 |
commit | 6f3de508c5c1b1dfbcf444756ae66ba46806389b (patch) | |
tree | 25d7c3e09869bd2b3993448a52500a8fddbff354 /test | |
parent | 7b823557034ffc7d10b919c0e49288ca030b3015 (diff) |
Fix test on systems where C:\ is not writeable
Diffstat (limited to 'test')
-rw-r--r-- | test/testfolderman.cpp | 3 |
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()); |