summaryrefslogtreecommitdiff
path: root/test/bbackupd
diff options
context:
space:
mode:
authorChris Wilson <chris+github@qwirx.com>2008-11-24 22:52:16 +0000
committerChris Wilson <chris+github@qwirx.com>2008-11-24 22:52:16 +0000
commit60b4fe899d42fe5721a3f42b6cd3fafca11b016b (patch)
treeed90d75e84ce8de1416a86f2570132d7f19a6839 /test/bbackupd
parentd33f9c91300701084ba04082cd00734d79623773 (diff)
Fix permissions on restored files after test, so that test build
system stops complaining that it can't delete them.
Diffstat (limited to 'test/bbackupd')
-rw-r--r--test/bbackupd/testbbackupd.cpp4
1 files changed, 4 insertions, 0 deletions
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
}