Index: src/platform/vboot_reference/tests/test_common.h |
diff --git a/src/platform/vboot_reference/tests/test_common.h b/src/platform/vboot_reference/tests/test_common.h |
index d73dc0eaff4fb5148f82d896bec26ade794fc893..c8404154693e44efa0fd1eced931ad650d08f000 100644 |
--- a/src/platform/vboot_reference/tests/test_common.h |
+++ b/src/platform/vboot_reference/tests/test_common.h |
@@ -13,9 +13,13 @@ |
#include "kernel_image.h" |
extern int gTestSuccess; |
+ |
/* Return 1 if result is equal to expected_result, else return 0. |
* Also update the global gTestSuccess flag if test fails. */ |
int TEST_EQ(int result, int expected_result, char* testname); |
+/* Return 0 if result is equal to not_expected_result, else return 1. |
+ * Also update the global gTestSuccess flag if test fails. */ |
+int TEST_NEQ(int result, int not_expected_result, char* testname); |
/* Test firmware image generation functions. */ |
FirmwareImage* GenerateTestFirmwareImage(int algorithm, |