From 8d79127b1f081818d59b1f6119d373d50468ab30 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Wed, 5 Apr 2006 02:03:33 +0000 Subject: [PATCH] Added zebra15.cfg for t15 --- test/api/Makefile.am | 4 ++-- test/api/t15.c | 6 +++++- test/api/zebra15.cfg | 11 +++++++++++ 3 files changed, 18 insertions(+), 3 deletions(-) create mode 100644 test/api/zebra15.cfg 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 -- 1.7.10.4