X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=tests%2Ftest_urcu_ja.c;fp=tests%2Ftest_urcu_ja.c;h=ad72abd08c7ec9e7df1c9cc63596d998b9e26733;hb=b023ba9fb95fbcfbedd3e499556959ad6706ce79;hp=c85d20610c566aacd596aa0157528e4e169fb474;hpb=125a6dae5e23500f9359023dac7be741c6fc47b1;p=userspace-rcu.git diff --git a/tests/test_urcu_ja.c b/tests/test_urcu_ja.c index c85d206..ad72abd 100644 --- a/tests/test_urcu_ja.c +++ b/tests/test_urcu_ja.c @@ -333,7 +333,7 @@ int test_8bit_key(void) key = ka[i] + ka_test_offset; rcu_read_lock(); - ja_node = cds_ja_lookup_lower_equal(test_ja, key); + ja_node = cds_ja_lookup_below_equal(test_ja, key); if (!ja_node) { fprintf(stderr, "Error lookup lower equal. Cannot find expected key %" PRIu64" below or equal to %" PRIu64 ".\n", ka[i], key); @@ -354,7 +354,7 @@ int test_8bit_key(void) key = ka[i]; /* without offset */ rcu_read_lock(); - ja_node = cds_ja_lookup_lower_equal(test_ja, key); + ja_node = cds_ja_lookup_below_equal(test_ja, key); if (!ja_node) { fprintf(stderr, "Error lookup lower equal. Cannot find expected key %" PRIu64" below or equal to %" PRIu64 ".\n", ka[i], key); @@ -492,7 +492,7 @@ int test_16bit_key(void) key = ka[i] + ka_test_offset; rcu_read_lock(); - ja_node = cds_ja_lookup_lower_equal(test_ja, key); + ja_node = cds_ja_lookup_below_equal(test_ja, key); if (!ja_node) { fprintf(stderr, "Error lookup lower equal. Cannot find expected key %" PRIu64" below or equal to %" PRIu64 ".\n", ka[i], key); @@ -513,7 +513,7 @@ int test_16bit_key(void) key = ka[i]; /* without offset */ rcu_read_lock(); - ja_node = cds_ja_lookup_lower_equal(test_ja, key); + ja_node = cds_ja_lookup_below_equal(test_ja, key); if (!ja_node) { fprintf(stderr, "Error lookup lower equal. Cannot find expected key %" PRIu64" below or equal to %" PRIu64 ".\n", ka[i], key);