-/* $Id: t17.c,v 1.1 2007-10-29 13:43:58 adam Exp $
+/* $Id: t17.c,v 1.3 2007-11-08 07:54:17 adam Exp $
Copyright (C) 1995-2007
Index Data ApS
*/
/** \file
- \brief tests unicode enabled searching (index_types)
+ \brief tests ICU enabled maps
*/
#include <yaz/test.h>
#include "testlib.h"
static void tst(int argc, char **argv)
{
+#if HAVE_ICU
ZebraService zs = tl_start_up("zebra17.cfg", argc, argv);
ZebraHandle zh = zebra_open(zs, 0);
YAZ_CHECK(tl_query(zh, "@attr 1=title notfound", 0));
/* we should get 3 hits. But 0 for now */
-#if 0
-
+#if 1
YAZ_CHECK(tl_query(zh, "@attr 1=title title", 3));
#else
YAZ_CHECK(tl_query(zh, "@attr 1=title title", 0));
YAZ_CHECK(tl_close_down(zh, zs));
+#endif
}
TL_MAIN