summaryrefslogtreecommitdiff
path: root/lib/common/Test.h
diff options
context:
space:
mode:
authorChris Wilson <chris+github@qwirx.com>2009-04-27 23:50:21 +0000
committerChris Wilson <chris+github@qwirx.com>2009-04-27 23:50:21 +0000
commitc8b01caa4d9cbb429f2e290297ea649c57066f9f (patch)
tree1e45d0354cbca892b360dc30b454f1e10d3d5c4d /lib/common/Test.h
parent043ca00b63526155407fa03c406069ab29d67b80 (diff)
Fix test failure due to operator precedence problem with recently
checked in system exit code comparison.
Diffstat (limited to 'lib/common/Test.h')
-rw-r--r--lib/common/Test.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/common/Test.h b/lib/common/Test.h
index fc77a493..db93a21e 100644
--- a/lib/common/Test.h
+++ b/lib/common/Test.h
@@ -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;