summaryrefslogtreecommitdiff
blob: 12a6825cc75930f4d2b020764f236c904b8fc85f (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/test/bbackupd/testbbackupd.cpp	2010-05-01 15:52:27.000000000 +0200
+++ b/test/bbackupd/testbbackupd.cpp	2010-05-07 07:12:42.000000000 +0200
@@ -1176,7 +1176,7 @@
 		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, 700);
 		TEST_THAT(fd > 0);
 		// write again, to update the file's timestamp
 		TEST_EQUAL_LINE(sizeof(buffer),