From 897b7fadb5f628c794307f8a6caa7c992dd01ff4 Mon Sep 17 00:00:00 2001 From: Piotr Sikora Date: Fri, 23 Jul 2010 18:20:32 +0000 Subject: [PATCH] Skip "user_supplied_bug17" (Chinese key) becasue OpenBSD's iscntrl() doesn't support multi-byte characters. --- tests/mem_functions.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.30.2