From: Adam Dickmeiss Date: Wed, 5 Apr 2006 02:03:33 +0000 (+0000) Subject: Added zebra15.cfg for t15 X-Git-Tag: before.bug.529~173 X-Git-Url: http://sru.miketaylor.org.uk/cgi-bin?a=commitdiff_plain;h=8d79127b1f081818d59b1f6119d373d50468ab30;p=idzebra-moved-to-github.git Added zebra15.cfg for t15 --- diff --git a/test/api/Makefile.am b/test/api/Makefile.am index bfe158c..a2e875c 100644 --- a/test/api/Makefile.am +++ b/test/api/Makefile.am @@ -1,4 +1,4 @@ -# $Id: Makefile.am,v 1.33 2006-04-04 00:03:27 adam Exp $ +# $Id: Makefile.am,v 1.34 2006-04-05 02:03:33 adam Exp $ noinst_PROGRAMS = testclient testclient_SOURCES = testclient.c @@ -8,7 +8,7 @@ safaritests = safari1 check_PROGRAMS = $(simpletests) $(safaritests) TESTS = $(check_PROGRAMS) -EXTRA_DIST=zebra.cfg zebra6.cfg zebra8.cfg zebrazv.cfg safari.cfg +EXTRA_DIST=zebra.cfg zebra6.cfg zebra8.cfg zebra15.cfg zebrazv.cfg safari.cfg noinst_LIBRARIES = libtestlib.a diff --git a/test/api/t15.c b/test/api/t15.c index 48e9573..3d0c15e 100644 --- a/test/api/t15.c +++ b/test/api/t15.c @@ -1,4 +1,4 @@ -/* $Id: t15.c,v 1.1 2006-04-04 00:03:27 adam Exp $ +/* $Id: t15.c,v 1.2 2006-04-05 02:03:33 adam Exp $ Copyright (C) 2004-2005 Index Data ApS @@ -84,6 +84,10 @@ static void tst(int argc, char **argv) ZebraHandle zh = zebra_open(zs, 0); + YAZ_CHECK(zs); + + YAZ_CHECK(zh); + YAZ_CHECK(zebra_select_database(zh, "Default") == ZEBRA_OK); zebra_init(zh); diff --git a/test/api/zebra15.cfg b/test/api/zebra15.cfg new file mode 100644 index 0000000..686dbaa --- /dev/null +++ b/test/api/zebra15.cfg @@ -0,0 +1,11 @@ +# $Id: zebra15.cfg,v 1.1 2006-04-05 02:03:33 adam Exp $ +profilepath: ${srcdir:-.}/../../tab + +attset: bib1.att + +recordType: grs.sgml + +isam: b + +register: register:100M +shadow: shadow:100M