[Box Backup-commit] COMMIT r1541 - box/chris/merge/test/bbackupd

boxbackup-dev at fluffy.co.uk boxbackup-dev at fluffy.co.uk
Sat Apr 21 19:48:25 BST 2007


Author: chris
Date: 2007-04-21 19:48:25 +0100 (Sat, 21 Apr 2007)
New Revision: 1541

Modified:
   box/chris/merge/test/bbackupd/testbbackupd.cpp
Log:
Test fix: create TestDir1 with a readable mode (refs #3)


Modified: box/chris/merge/test/bbackupd/testbbackupd.cpp
===================================================================
--- box/chris/merge/test/bbackupd/testbbackupd.cpp	2007-04-21 11:55:07 UTC (rev 1540)
+++ box/chris/merge/test/bbackupd/testbbackupd.cpp	2007-04-21 18:48:25 UTC (rev 1541)
@@ -759,7 +759,7 @@
 
 	// unpack the files for the initial test
 	TEST_THAT(::system("rm -rf testfiles/TestDir1") == 0);
-	TEST_THAT(::mkdir("testfiles/TestDir1", 0) == 0);
+	TEST_THAT(::mkdir("testfiles/TestDir1", 0777) == 0);
 
 	#ifdef WIN32
 		TEST_THAT(::system("tar xzvf testfiles/spacetest1.tgz "




More information about the Boxbackup-commit mailing list