summaryrefslogtreecommitdiff
path: root/cesar/hal/hle/test/src/hal_hle_ipmbox.c
diff options
context:
space:
mode:
Diffstat (limited to 'cesar/hal/hle/test/src/hal_hle_ipmbox.c')
-rw-r--r--cesar/hal/hle/test/src/hal_hle_ipmbox.c13
1 files changed, 5 insertions, 8 deletions
diff --git a/cesar/hal/hle/test/src/hal_hle_ipmbox.c b/cesar/hal/hle/test/src/hal_hle_ipmbox.c
index 82532f20db..5073425ee1 100644
--- a/cesar/hal/hle/test/src/hal_hle_ipmbox.c
+++ b/cesar/hal/hle/test/src/hal_hle_ipmbox.c
@@ -365,14 +365,6 @@ test_ipmbox_debug_dump (void)
utest_L2A_tail = utest_L2A_head;
i = 0;
n = 0;
- /* Nothing to dump. */
- test_begin (test, "nothing")
- {
- /* Dump. */
- ipmbox_dump (ctx, "", 0);
- /* Check result. */
- test_fail_unless (utest_L2A_tail - utest_L2A_head == 0);
- } test_end;
/* Various sizes. */
test_begin (test, "1 char")
{
@@ -405,6 +397,11 @@ test_ipmbox_debug_dump (void)
test_ipmbox_debug_dump_step (test, &i, &n, "0123456789abcdefg",
"0123456789abcdef", "g");
} test_end;
+ /* End of dump. */
+ test_begin (test, "end of dump")
+ {
+ test_ipmbox_debug_dump_step (test, &i, &n, "", "", NULL);
+ } test_end;
}
int main (int argc, char **argv)