Reviewers: raster, cedric
Reviewed By: cedric
Subscribers: rajeshps, jpeg
Differential Revision: https://phab.enlightenment.org/D5304
Signed-off-by: Cedric Bail <cedric@osg.samsung.com>
suffix[4] = lookup[v % 62];
v /= 62;
suffix[5] = lookup[v % 62];
- v /= 62;
val += 7777;
int *ptr;
ptr = eina_tls_get(key);
- fail_if(eina_tls_get(key) != NULL);
+ fail_if(ptr != NULL);
fail_if(!eina_tls_set(key, _eina_test_tls_alloc(24)));
ptr = eina_tls_get(key);
- fail_if(eina_tls_get(key) == NULL);
+ fail_if(ptr == NULL);
fail_if(*ptr != 24);
return NULL;
START_TEST(eina_log_customize)
{
- struct log_ctx ctx;
int d;
/* please don't define EINA_LOG_LEVELS for it */
eina_strbuf_remove(buf, 0, 0 + 32);
fail_if(eina_strbuf_length_get(buf) != sz - 32);
- sz -= 32;
-
eina_strbuf_free(buf);
fail_if(buf[9] != 0);
buf[0] = '7';
- rv = eina_unicode_strncpy(buf, STR1, 0);
+ eina_unicode_strncpy(buf, STR1, 0);
fail_if(buf[0] != '7');
#ifdef EINA_SAFETY_CHECKS