summaryrefslogtreecommitdiff
path: root/lib/hash_test.c
diff options
context:
space:
mode:
authorPavel Tvrdik <pawel.tvrdik@gmail.com>2016-11-11 17:43:09 +0100
committerPavel Tvrdik <pawel.tvrdik@gmail.com>2016-11-11 17:43:09 +0100
commit5e3cd0e5b56e6c58cfba4d0d38fbbbed3657889d (patch)
tree3e96b946c06176731b1d2ba27605dc257ef9c7bc /lib/hash_test.c
parentfa71b268a8d15d579f50d7f4f92e2edb3b431e05 (diff)
Birdtest: Replace BT_SUCCESS and BT_FAILURE with 1 and 0
Diffstat (limited to 'lib/hash_test.c')
-rw-r--r--lib/hash_test.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/lib/hash_test.c b/lib/hash_test.c
index 07607f6e..59beb7c0 100644
--- a/lib/hash_test.c
+++ b/lib/hash_test.c
@@ -129,7 +129,7 @@ t_insert_find(void)
fill_hash();
validate_filled_hash();
- return BT_SUCCESS;
+ return 1;
}
static int
@@ -148,7 +148,7 @@ t_insert_find_random(void)
validate_filled_hash();
- return BT_SUCCESS;
+ return 1;
}
static int
@@ -168,7 +168,7 @@ t_insert2_find(void)
validate_filled_hash();
- return BT_SUCCESS;
+ return 1;
}
static int
@@ -191,7 +191,7 @@ t_walk(void)
for (i = 0; i < MAX_NUM; i++)
bt_assert(check[i] == 1);
- return BT_SUCCESS;
+ return 1;
}
static int
@@ -208,7 +208,7 @@ t_walk_delsafe_delete(void)
validate_empty_hash();
- return BT_SUCCESS;
+ return 1;
}
static int
@@ -225,7 +225,7 @@ t_walk_delsafe_remove(void)
validate_empty_hash();
- return BT_SUCCESS;
+ return 1;
}
static int
@@ -242,7 +242,7 @@ t_walk_delsafe_delete2(void)
validate_empty_hash();
- return BT_SUCCESS;
+ return 1;
}
static int
@@ -259,7 +259,7 @@ t_walk_delsafe_remove2(void)
validate_empty_hash();
- return BT_SUCCESS;
+ return 1;
}
static int
@@ -283,7 +283,7 @@ t_walk_filter(void)
for (i = 0; i < MAX_NUM; i++)
bt_assert(check[i] == 1);
- return BT_SUCCESS;
+ return 1;
}
int