summaryrefslogtreecommitdiff
path: root/lib/slist_test.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/slist_test.c')
-rw-r--r--lib/slist_test.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/lib/slist_test.c b/lib/slist_test.c
index fd0b1ca6..069e361c 100644
--- a/lib/slist_test.c
+++ b/lib/slist_test.c
@@ -103,7 +103,7 @@ t_add_tail(void)
bt_assert(is_filled_list_well_linked());
- return BT_SUCCESS;
+ return 1;
}
static int
@@ -127,7 +127,7 @@ t_add_head(void)
bt_assert(is_filled_list_well_linked());
- return BT_SUCCESS;
+ return 1;
}
static void
@@ -158,7 +158,7 @@ t_insert_node(void)
bt_debug("\n");
bt_assert(is_filled_list_well_linked());
- return BT_SUCCESS;
+ return 1;
}
static void
@@ -211,7 +211,7 @@ t_remove_node(void)
s_rem_node(&nodes[i]);
bt_assert(is_empty_list_well_unlinked());
- return BT_SUCCESS;
+ return 1;
}
static int
@@ -232,7 +232,7 @@ t_add_tail_list(void)
bt_assert(nodes2[0].prev == &nodes[MAX_NUM-1]);
bt_assert(lst.tail == &nodes2[MAX_NUM-1]);
- return BT_SUCCESS;
+ return 1;
}
void
@@ -290,7 +290,7 @@ t_iterator_walk(void)
i++;
}
- return BT_SUCCESS;
+ return 1;
}
static int
@@ -344,7 +344,7 @@ t_original(void)
s_add_tail_list(&b, &a);
dump("8 (after merge)", &b);
- return BT_SUCCESS;
+ return 1;
}
static int
@@ -363,7 +363,7 @@ t_safe_del_walk(void)
}
bt_assert(is_empty_list_well_unlinked());
- return BT_SUCCESS;
+ return 1;
}
int