[Box Backup-commit] COMMIT r2522 - box/trunk/lib/common
boxbackup-dev@boxbackup.org
boxbackup-dev@boxbackup.org
Tue, 28 Apr 2009 00:50:22 +0100 (BST)
Author: chris
Date: 2009-04-28 00:50:21 +0100 (Tue, 28 Apr 2009)
New Revision: 2522
Modified:
box/trunk/lib/common/Test.h
Log:
Fix test failure due to operator precedence problem with recently
checked in system exit code comparison.
Modified: box/trunk/lib/common/Test.h
===================================================================
--- box/trunk/lib/common/Test.h 2009-04-26 22:18:51 UTC (rev 2521)
+++ box/trunk/lib/common/Test.h 2009-04-27 23:50:21 UTC (rev 2522)
@@ -25,7 +25,7 @@
#define BBSTORED "../../bin/bbstored/bbstored"
#define BBACKUPQUERY "../../bin/bbackupquery/bbackupquery"
#define BBSTOREACCOUNTS "../../bin/bbstoreaccounts/bbstoreaccounts"
-#define TEST_RETURN(actual, expected) TEST_EQUAL(expected << 8, actual);
+#define TEST_RETURN(actual, expected) TEST_EQUAL((expected << 8), actual);
#endif
extern int failures;