summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/opkg_active_list_test.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/opkg_active_list_test.c b/tests/opkg_active_list_test.c
index 1e21645..77819b0 100644
--- a/tests/opkg_active_list_test.c
+++ b/tests/opkg_active_list_test.c
@@ -111,7 +111,8 @@ int main (void) {
test = list_entry(ptr, struct active_test, list);
printf ("%s ",test->str);
}
- printf("\npos order: ");
+ printf("\nafter clear: ");
+ active_list_clear(&head);
for(ptr = active_list_next(&head, NULL); ptr ;ptr = active_list_next(&head, ptr)) {
test = list_entry(ptr, struct active_test, list);
printf ("%s ",test->str);