diff options
author | Pavel Tvrdik <pawel.tvrdik@gmail.com> | 2016-11-11 17:43:09 +0100 |
---|---|---|
committer | Pavel Tvrdik <pawel.tvrdik@gmail.com> | 2016-11-11 17:43:09 +0100 |
commit | 5e3cd0e5b56e6c58cfba4d0d38fbbbed3657889d (patch) | |
tree | 3e96b946c06176731b1d2ba27605dc257ef9c7bc /nest | |
parent | fa71b268a8d15d579f50d7f4f92e2edb3b431e05 (diff) |
Birdtest: Replace BT_SUCCESS and BT_FAILURE with 1 and 0
Diffstat (limited to 'nest')
-rw-r--r-- | nest/a-path_test.c | 8 | ||||
-rw-r--r-- | nest/a-set_test.c | 16 |
2 files changed, 12 insertions, 12 deletions
diff --git a/nest/a-path_test.c b/nest/a-path_test.c index 2dc46dbe..d2ca46a7 100644 --- a/nest/a-path_test.c +++ b/nest/a-path_test.c @@ -66,7 +66,7 @@ t_as_path_match(void) rfree(lp); } - return BT_SUCCESS; + return 1; } static int @@ -97,7 +97,7 @@ t_path_format(void) rfree(lp); - return BT_SUCCESS; + return 1; } static int @@ -152,7 +152,7 @@ t_path_include(void) rfree(lp); - return BT_SUCCESS; + return 1; } static int @@ -197,7 +197,7 @@ t_as_path_converting(void) "\032\0310\030\039\030\038\030\037\030\036\030\035\030\034\030\033\030\032\030\031\030\030", 22)); - return BT_SUCCESS; + return 1; } int diff --git a/nest/a-set_test.c b/nest/a-set_test.c index 763b6b9f..f4588d65 100644 --- a/nest/a-set_test.c +++ b/nest/a-set_test.c @@ -86,7 +86,7 @@ t_set_int_contains(void) bt_assert_msg(data[i] == i, "(data[i] = %d) == i = %d)", data[i], i); rfree(lp); - return BT_SUCCESS; + return 1; } static int @@ -105,7 +105,7 @@ t_set_int_union(void) bt_assert(int_set_format(set_union, 0, 2, buf, BUFFER_SIZE) == 0); rfree(lp); - return BT_SUCCESS; + return 1; } static int @@ -127,7 +127,7 @@ t_set_int_format(void) bt_assert(strcmp(buf, "(0,0) (0,1) (0,2) (0,3) (0,4) (0,5) (0,6) (0,7) (0,8) (0,9)") == 0); rfree(lp); - return BT_SUCCESS; + return 1; } static int @@ -149,7 +149,7 @@ t_set_int_delete(void) bt_assert(int_set_get_size(set_sequence) == SET_SIZE); - return BT_SUCCESS; + return 1; } /* @@ -176,7 +176,7 @@ t_set_ec_contains(void) // bt_assert_msg(data[i] == (SET_SIZE-1-i), "(data[i] = %d) == ((SET_SIZE-1-i) = %d)", data[i], SET_SIZE-1-i); rfree(lp); - return BT_SUCCESS; + return 1; } static int @@ -195,7 +195,7 @@ t_set_ec_union(void) bt_assert(ec_set_format(set_union, 0, buf, BUFFER_SIZE) == 0); rfree(lp); - return BT_SUCCESS; + return 1; } static int @@ -217,7 +217,7 @@ t_set_ec_format(void) "ec_set_format() returns '%s'", buf); rfree(lp); - return BT_SUCCESS; + return 1; } static int @@ -238,7 +238,7 @@ t_set_ec_delete(void) bt_assert(ec_set_get_size(set_sequence) == SET_SIZE); - return BT_SUCCESS; + return 1; } int |