From b6dee8028d45d1c6db5a23d853fd67135bc1a0b9 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Sun, 24 Oct 2004 13:34:45 +0000 Subject: [PATCH] Make zebra cfg part of dist to ensure tests pass --- test/api/Makefile.am | 4 ++-- test/api/t8.c | 4 ++-- test/api/zebra8.cfg | 10 ++++++++++ test/api/zebragils.cfg | 10 ---------- 4 files changed, 14 insertions(+), 14 deletions(-) create mode 100644 test/api/zebra8.cfg delete mode 100644 test/api/zebragils.cfg diff --git a/test/api/Makefile.am b/test/api/Makefile.am index aba223f..ceb5608 100644 --- a/test/api/Makefile.am +++ b/test/api/Makefile.am @@ -1,4 +1,4 @@ -# $Id: Makefile.am,v 1.18 2004-10-01 14:25:28 heikki Exp $ +# $Id: Makefile.am,v 1.19 2004-10-24 13:34:45 adam Exp $ noinst_PROGRAMS = testclient testclient_SOURCES = testclient.c @@ -6,7 +6,7 @@ testclient_SOURCES = testclient.c check_PROGRAMS = t1 t2 t3 t4 t5 t6 t7 t8 TESTS = $(check_PROGRAMS) -EXTRA_DIST=zebra.cfg zebra6.cfg +EXTRA_DIST=zebra.cfg zebra6.cfg zebra8.cfg t1_SOURCES = t1.c t2_SOURCES = t2.c diff --git a/test/api/t8.c b/test/api/t8.c index a6b3843..67e996b 100644 --- a/test/api/t8.c +++ b/test/api/t8.c @@ -1,4 +1,4 @@ -/* $Id: t8.c,v 1.2 2004-10-15 10:07:34 heikki Exp $ +/* $Id: t8.c,v 1.3 2004-10-24 13:34:45 adam Exp $ Copyright (C) 1995,1996,1997,1998,1999,2000,2001,2002,2003,2004 Index Data Aps @@ -35,7 +35,7 @@ static ZebraService start_service() { char cfg[256]; char *srcdir = getenv("srcdir"); - sprintf(cfg, "%.200s%szebragils.cfg", + sprintf(cfg, "%.200s%szebra8.cfg", srcdir ? srcdir : "", srcdir ? "/" : ""); return zebra_start(cfg); } diff --git a/test/api/zebra8.cfg b/test/api/zebra8.cfg new file mode 100644 index 0000000..c18ec4c --- /dev/null +++ b/test/api/zebra8.cfg @@ -0,0 +1,10 @@ +# $Id: zebra8.cfg,v 1.1 2004-10-24 13:34:45 adam Exp $ +profilepath: ${srcdir:-.}/../../tab + +attset: bib1.att +attset: gils.att + +recordType: grs.sgml + +isam: b + diff --git a/test/api/zebragils.cfg b/test/api/zebragils.cfg deleted file mode 100644 index f5337f2..0000000 --- a/test/api/zebragils.cfg +++ /dev/null @@ -1,10 +0,0 @@ -# $Id: zebragils.cfg,v 1.1 2004-10-13 10:11:19 heikki Exp $ -profilepath: ${srcdir:-.}/../../tab - -attset: bib1.att -attset: gils.att - -recordType: grs.sgml - -isam: b - -- 1.7.10.4