Skip to content

Commit

Permalink
test-ipmi-hiomap: Add ack-error test
Browse files Browse the repository at this point in the history
[ Upstream commit ff51536 ]

Cc: stable
Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
Signed-off-by: Vasant Hegde <hegdevasant@linux.vnet.ibm.com>
  • Loading branch information
amboar authored and Vasant Hegde committed Mar 4, 2019
1 parent 4de5c23 commit c38fccd
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions libflash/test/test-ipmi-hiomap.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -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 },
};

Expand Down

0 comments on commit c38fccd

Please sign in to comment.