summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/bbackupd/testbbackupd.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/bbackupd/testbbackupd.cpp b/test/bbackupd/testbbackupd.cpp
index 3f3be35d..6cd8f27d 100644
--- a/test/bbackupd/testbbackupd.cpp
+++ b/test/bbackupd/testbbackupd.cpp
@@ -1201,7 +1201,7 @@ int test_bbackupd()
std::string touchfile =
"testfiles/TestDir1/spacetest/d1/touch-me";
- fd = open(touchfile.c_str(), O_CREAT | O_WRONLY);
+ fd = open(touchfile.c_str(), O_CREAT | O_WRONLY, 0700);
TEST_THAT(fd > 0);
// write again, to update the file's timestamp
TEST_EQUAL_LINE(sizeof(buffer),