aboutsummaryrefslogtreecommitdiff
path: root/libflash/test
diff options
context:
space:
mode:
authorAndrew Jeffery <andrew@aj.id.au>2019-02-21 16:58:36 +1030
committerStewart Smith <stewart@linux.ibm.com>2019-02-24 17:43:37 -0600
commitff5153612f8587599b67877264ff63b9e5faf848 (patch)
tree1699a699bf5833a2d7f7ff5ac382a0f6b10afca1 /libflash/test
parent7798ea646fb79e74cbb3fc66de9429f91ad41502 (diff)
downloadskiboot-ff5153612f8587599b67877264ff63b9e5faf848.zip
skiboot-ff5153612f8587599b67877264ff63b9e5faf848.tar.gz
skiboot-ff5153612f8587599b67877264ff63b9e5faf848.tar.bz2
test-ipmi-hiomap: Add ack-error test
Cc: stable Signed-off-by: Andrew Jeffery <andrew@aj.id.au> Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
Diffstat (limited to 'libflash/test')
-rw-r--r--libflash/test/test-ipmi-hiomap.c7
1 files changed, 7 insertions, 0 deletions
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 },
};