diff mbox

fixup! nvram: force re-verification after writing

Message ID 1475041182-22067-1-git-send-email-oohall@gmail.com
State Accepted
Headers show

Commit Message

Oliver O'Halloran Sept. 28, 2016, 5:39 a.m. UTC
Seems I broke a the nvram unit tests.
---
 core/test/run-nvram-format.c | 5 +++++
 1 file changed, 5 insertions(+)

Comments

Stewart Smith Oct. 16, 2016, 11:37 p.m. UTC | #1
Oliver O'Halloran <oohall@gmail.com> writes:
> Seems I broke a the nvram unit tests.
> ---
>  core/test/run-nvram-format.c | 5 +++++
>  1 file changed, 5 insertions(+)

No worries, I combined with patch that broke it and merged.
diff mbox

Patch

diff --git a/core/test/run-nvram-format.c b/core/test/run-nvram-format.c
index 4bf3ae07f0eb..4ca2cded2a60 100644
--- a/core/test/run-nvram-format.c
+++ b/core/test/run-nvram-format.c
@@ -18,6 +18,11 @@ 
 
 #include "../nvram-format.c"
 
+bool nvram_validate(void)
+{
+	return true;
+}
+
 static char *nvram_reset(void *nvram_image, int size)
 {
 	struct chrp_nvram_hdr *h = nvram_image;