/* This file is part of the Zebra server.
- Copyright (C) 1995-2008 Index Data
+ Copyright (C) 1994-2011 Index Data
Zebra is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free
*/
-/** \file
+/** \file
\brief sort using various sortindex types
*/
+#if HAVE_CONFIG_H
+#include <config.h>
+#endif
#include <yaz/test.h>
#include "testlib.h"
"</gils>\n",
/* 3 */
- "<gils>\n"
+ "<gils>\n"
" <title>My x title</title>\n"
" <title>B</title>\n"
"</gils>\n",
" <title>A</title>\n"
"</gils>\n" ,
0} ;
-
+
static void tst_sortindex(int argc, char **argv, const char *type)
{
zint ids[5];
res_set(res, "sortindex", type);
zh = zebra_open(zs, res);
-
+
YAZ_CHECK(tl_init_data(zh, myrec));
if (strcmp(type, "m"))
/*
* Local variables:
* c-basic-offset: 4
+ * c-file-style: "Stroustrup"
* indent-tabs-mode: nil
* End:
* vim: shiftwidth=4 tabstop=8 expandtab