projects
/
awesomized
/
libmemcached
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
Update documentation.
[awesomized/libmemcached]
/
tests
/
hashkit_functions.c
diff --git
a/tests/hashkit_functions.c
b/tests/hashkit_functions.c
index 0f2c42a99d050cd3c20954cb6d77cf6058274b03..23feb9e50a6f3e46459684fb0a9196d07081359a 100644
(file)
--- a/
tests/hashkit_functions.c
+++ b/
tests/hashkit_functions.c
@@
-345,10
+345,10
@@
static test_return_t hashkit_set_function_test(hashkit_st *hashk)
continue;
#endif
continue;
#endif
- if (rc == HASHKIT_
FAILURE
&& algo == HASHKIT_HASH_CUSTOM)
+ if (rc == HASHKIT_
INVALID_ARGUMENT
&& algo == HASHKIT_HASH_CUSTOM)
continue;
continue;
- test_true
(rc == HASHKIT_SUCCESS
);
+ test_true
_got(rc == HASHKIT_SUCCESS, hashkit_strerror(NULL, rc)
);
switch (algo)
{
switch (algo)
{
@@
-448,7
+448,7
@@
static test_return_t hashkit_set_distribution_function_test(hashkit_st *hashk)
if (rc == HASHKIT_FAILURE && algo == HASHKIT_HASH_HSIEH)
continue;
if (rc == HASHKIT_FAILURE && algo == HASHKIT_HASH_HSIEH)
continue;
- if (rc == HASHKIT_
FAILURE
&& algo == HASHKIT_HASH_CUSTOM)
+ if (rc == HASHKIT_
INVALID_ARGUMENT
&& algo == HASHKIT_HASH_CUSTOM)
continue;
test_true(rc == HASHKIT_SUCCESS);
continue;
test_true(rc == HASHKIT_SUCCESS);