From 60b4fe899d42fe5721a3f42b6cd3fafca11b016b Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Mon, 24 Nov 2008 22:52:16 +0000 Subject: Fix permissions on restored files after test, so that test build system stops complaining that it can't delete them. --- test/bbackupd/testbbackupd.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/bbackupd/testbbackupd.cpp b/test/bbackupd/testbbackupd.cpp index 0f24a2e4..32f3a117 100644 --- a/test/bbackupd/testbbackupd.cpp +++ b/test/bbackupd/testbbackupd.cpp @@ -2089,9 +2089,13 @@ int test_bbackupd() #ifdef WIN32 TEST_THAT(::system("chmod 0755 testfiles/" "TestDir1/x1") == 0); + TEST_THAT(::system("chmod 0755 testfiles/" + "restore1/x1") == 0); #else TEST_THAT(chmod("testfiles/TestDir1/x1", 0755) == 0); + TEST_THAT(chmod("testfiles/restore1/x1", + 0755) == 0); #endif } -- cgit v1.2.3