Commit 1f815c1b authored by Tristan Gingold's avatar Tristan Gingold

ut test_msg_loop: strenghten.

parent 2d0527cf
......@@ -45,6 +45,12 @@ static void test_msg_loop(CuTest *tc)
wrtd = wrtd_open(2);
CuAssertPtrNotNull(tc, wrtd);
/* Clear counters. */
CuAssertIntEquals(tc, 0, wrtd_out_global_counters_reset(wrtd));
CuAssertIntEquals(tc, 0, wrtd_in_global_counters_reset(wrtd));
CuAssertIntEquals(tc, 0, wrtd_out_counters_reset(wrtd, 0));
CuAssertIntEquals(tc, 0, wrtd_in_counters_reset(wrtd, 0));
#if 0
CuAssertIntEquals(tc, 0, trtl_cpu_restart(wrtd_get_trtl_dev(wrtd), 0));
CuAssertIntEquals(tc, 0, trtl_cpu_restart(wrtd_get_trtl_dev(wrtd), 1));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment