boxbackup-0.11_rc8-testbbackupd.patch 464 B

123456789101112
  1. --- a/test/bbackupd/testbbackupd.cpp 2010-05-01 15:52:27.000000000 +0200
  2. +++ b/test/bbackupd/testbbackupd.cpp 2010-05-07 07:12:42.000000000 +0200
  3. @@ -1176,7 +1176,7 @@
  4. std::string touchfile =
  5. "testfiles/TestDir1/spacetest/d1/touch-me";
  6. - fd = open(touchfile.c_str(), O_CREAT | O_WRONLY);
  7. + fd = open(touchfile.c_str(), O_CREAT | O_WRONLY, 700);
  8. TEST_THAT(fd > 0);
  9. // write again, to update the file's timestamp
  10. TEST_EQUAL_LINE(sizeof(buffer),