From ff5153612f8587599b67877264ff63b9e5faf848 Mon Sep 17 00:00:00 2001 From: Andrew Jeffery Date: Thu, 21 Feb 2019 16:58:36 +1030 Subject: test-ipmi-hiomap: Add ack-error test Cc: stable Signed-off-by: Andrew Jeffery Signed-off-by: Stewart Smith --- libflash/test/test-ipmi-hiomap.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'libflash') diff --git a/libflash/test/test-ipmi-hiomap.c b/libflash/test/test-ipmi-hiomap.c index 7c1a3c3..485da9f 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 }, }; -- cgit v1.1