[Skiboot] [PATCH v2 37/52] test-ipmi-hiomap: Add ack-error test

Andrew Jeffery andrew at aj.id.au
Thu Feb 21 17:28:36 AEDT 2019


Cc: stable
Signed-off-by: Andrew Jeffery <andrew at aj.id.au>
---
 libflash/test/test-ipmi-hiomap.c | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/libflash/test/test-ipmi-hiomap.c b/libflash/test/test-ipmi-hiomap.c
index 7c1a3c3b7140..485da9f3089a 100644
--- a/libflash/test/test-ipmi-hiomap.c
+++ b/libflash/test/test-ipmi-hiomap.c
@@ -1652,6 +1652,12 @@ static void test_hiomap_flush_error(void)
 	scenario_exit();
 }
 
+static void test_hiomap_ack_error(void)
+{
+	/* Same thing at the moment */
+	test_hiomap_protocol_action_error();
+}
+
 struct test_case {
 	const char *name;
 	void (*fn)(void);
@@ -1689,6 +1695,7 @@ struct test_case test_cases[] = {
 	TEST_CASE(test_hiomap_create_write_window_error),
 	TEST_CASE(test_hiomap_mark_dirty_error),
 	TEST_CASE(test_hiomap_flush_error),
+	TEST_CASE(test_hiomap_ack_error),
 	{ NULL, NULL },
 };
 
-- 
2.19.1



More information about the Skiboot mailing list