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

boxbackup-dev at fluffy.co.uk boxbackup-dev at fluffy.co.uk
Thu Jul 26 22:59:09 BST 2007


Author: chris
Date: 2007-07-26 22:59:09 +0100 (Thu, 26 Jul 2007)
New Revision: 1757

Modified:
   box/chris/merge/test/bbackupd/testbbackupd.cpp
Log:
Fix unit tests now that bbackupd honours the hard limit and not the
soft limit. (refs #3, merges [1662])


Modified: box/chris/merge/test/bbackupd/testbbackupd.cpp
===================================================================
--- box/chris/merge/test/bbackupd/testbbackupd.cpp	2007-07-26 21:58:40 UTC (rev 1756)
+++ box/chris/merge/test/bbackupd/testbbackupd.cpp	2007-07-26 21:59:09 UTC (rev 1757)
@@ -1078,7 +1078,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