Added zebra15.cfg for t15
authorAdam Dickmeiss <adam@indexdata.dk>
Wed, 5 Apr 2006 02:03:33 +0000 (02:03 +0000)
committerAdam Dickmeiss <adam@indexdata.dk>
Wed, 5 Apr 2006 02:03:33 +0000 (02:03 +0000)
test/api/Makefile.am
test/api/t15.c
test/api/zebra15.cfg [new file with mode: 0644]

index bfe158c..a2e875c 100644 (file)
@@ -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
 
index 48e9573..3d0c15e 100644 (file)
@@ -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 (file)
index 0000000..686dbaa
--- /dev/null
@@ -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