[Box Backup-commit] COMMIT r2386 - box/trunk/test/bbackupd

boxbackup-dev at boxbackup.org boxbackup-dev at boxbackup.org
Mon Nov 24 22:52:17 GMT 2008


Author: chris
Date: 2008-11-24 22:52:16 +0000 (Mon, 24 Nov 2008)
New Revision: 2386

Modified:
   box/trunk/test/bbackupd/testbbackupd.cpp
Log:
Fix permissions on restored files after test, so that test build
system stops complaining that it can't delete them.


Modified: box/trunk/test/bbackupd/testbbackupd.cpp
===================================================================
--- box/trunk/test/bbackupd/testbbackupd.cpp	2008-11-23 15:52:43 UTC (rev 2385)
+++ box/trunk/test/bbackupd/testbbackupd.cpp	2008-11-24 22:52:16 UTC (rev 2386)
@@ -2089,9 +2089,13 @@
 			#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
 
 		}




More information about the Boxbackup-commit mailing list