| 24 | } |
| 25 | |
| 26 | int test_stack_bat_add(AUT_LINE *test_line acl_unused, void *arg acl_unused) |
| 27 | { |
| 28 | MY_TYPE *t; |
| 29 | int i; |
| 30 | |
| 31 | __stack_init(); |
| 32 | |
| 33 | for (i = 0; i < 25; i++) { |
| 34 | t = acl_mymalloc(sizeof(MY_TYPE)); |
| 35 | snprintf(t->name, sizeof(t->name), "name:%d", i); |
| 36 | acl_stack_append(__stack, t); |
| 37 | } |
| 38 | return (0); |
| 39 | } |
| 40 | |
| 41 | int test_stack_walk(AUT_LINE *test_line acl_unused, void *arg acl_unused) |
| 42 | { |
nothing calls this directly
no test coverage detected
searching dependent graphs…