From: Piotr Sikora Date: Fri, 23 Jul 2010 18:20:32 +0000 (+0000) Subject: Skip "user_supplied_bug17" (Chinese key) becasue OpenBSD's iscntrl() doesn't support... X-Git-Tag: 0.44~14^2 X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=897b7fadb5f628c794307f8a6caa7c992dd01ff4;p=m6w6%2Flibmemcached Skip "user_supplied_bug17" (Chinese key) becasue OpenBSD's iscntrl() doesn't support multi-byte characters. --- diff --git a/tests/mem_functions.c b/tests/mem_functions.c index a970a11e..c436b261 100644 --- a/tests/mem_functions.c +++ b/tests/mem_functions.c @@ -2781,7 +2781,7 @@ static test_return_t user_supplied_bug16(memcached_st *memc) return TEST_SUCCESS; } -#ifndef __sun +#if !defined(__sun) && !defined(__OpenBSD__) /* Check the validity of chinese key*/ static test_return_t user_supplied_bug17(memcached_st *memc) { @@ -6216,7 +6216,7 @@ test_st user_tests[] ={ {"user_supplied_bug14", 1, (test_callback_fn)user_supplied_bug14 }, {"user_supplied_bug15", 1, (test_callback_fn)user_supplied_bug15 }, {"user_supplied_bug16", 1, (test_callback_fn)user_supplied_bug16 }, -#ifndef __sun +#if !defined(__sun) && !defined(__OpenBSD__) /* ** It seems to be something weird with the character sets.. ** value_fetch is unable to parse the value line (iscntrl "fails"), so I