[Box Backup-commit] COMMIT r1662 - box/chris/general/test/bbackupd

boxbackup-dev at fluffy.co.uk boxbackup-dev at fluffy.co.uk
Tue May 15 23:57:53 BST 2007


Author: chris
Date: 2007-05-15 23:57:53 +0100 (Tue, 15 May 2007)
New Revision: 1662

Modified:
   box/chris/general/test/bbackupd/testbbackupd.cpp
Log:
Fix unit tests now that bbackupd honours the hard limit and not the 
soft limit.


Modified: box/chris/general/test/bbackupd/testbbackupd.cpp
===================================================================
--- box/chris/general/test/bbackupd/testbbackupd.cpp	2007-05-15 22:57:20 UTC (rev 1661)
+++ box/chris/general/test/bbackupd/testbbackupd.cpp	2007-05-15 22:57:53 UTC (rev 1662)
@@ -1075,7 +1075,7 @@
 		// soft limit + 1/3 of (hard - soft). Set small values
 		// for limits accordingly.
 		TEST_THAT_ABORTONFAIL(::system(BBSTOREACCOUNTS " -c "
-			"testfiles/bbstored.conf setlimit 01234567 10B 40B") 
+			"testfiles/bbstored.conf setlimit 01234567 9B 10B") 
 			== 0);
 		TestRemoteProcessMemLeaks("bbstoreaccounts.memleaks");
 




More information about the Boxbackup-commit mailing list