diff options
author | Hannah von Reth <hannah.vonreth@owncloud.com> | 2020-11-26 17:03:11 +0300 |
---|---|---|
committer | Kevin Ottens <kevin.ottens@nextcloud.com> | 2020-12-15 12:59:27 +0300 |
commit | befc373ea6f201cff65ff77f635df22751fbc037 (patch) | |
tree | 210f5abc09b11ccb9bd02966c92bb491a4d7ed64 /test | |
parent | dc42ebb793f78fa2c0678c967652b48ae4f0bd2e (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 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()); |