[gnote: 12/21] Fix permissions for test sync dir
- From: Aurimas Černius <aurimasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnote: 12/21] Fix permissions for test sync dir
- Date: Tue, 20 Jun 2017 20:15:55 +0000 (UTC)
commit 6499f93f659139c3615339377a81b5d2ed74ace6
Author: Aurimas Černius <aurisc4 gmail com>
Date: Sat Apr 22 18:38:28 2017 +0300
Fix permissions for test sync dir
src/test/unit/syncmanagerutests.cpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/test/unit/syncmanagerutests.cpp b/src/test/unit/syncmanagerutests.cpp
index a39f27a..e1e5004 100644
--- a/src/test/unit/syncmanagerutests.cpp
+++ b/src/test/unit/syncmanagerutests.cpp
@@ -51,7 +51,7 @@ TEST(clean_sync)
Glib::ustring notesdir = Glib::ustring(notes_dir) + "/notes";
Glib::ustring notesdir2 = Glib::ustring(notes_dir2) + "/notes";
Glib::ustring syncdir = Glib::ustring(notes_dir) + "/sync";
- REQUIRE CHECK(g_mkdir(syncdir.c_str(), 0x755) == 0);
+ REQUIRE CHECK(g_mkdir(syncdir.c_str(), S_IRWXU) == 0);
Glib::ustring manifest = Glib::ustring(notes_dir) + "/manifest.xml";
new test::TagManager;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]