X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=test%2Fxslt%2Fxslt3.c;fp=test%2Fxslt%2Fxslt3.c;h=f598f16a32377f0b79b1ca5a7ac50b1114c45b38;hb=66389dd83548212275fda1dbe09a242c947afa30;hp=10699a3566b3d79c09e8c74a20cc1854e545da90;hpb=6eede4f6572f495e9363015b336d9e17662a5368;p=idzebra-moved-to-github.git diff --git a/test/xslt/xslt3.c b/test/xslt/xslt3.c index 10699a3..f598f16 100644 --- a/test/xslt/xslt3.c +++ b/test/xslt/xslt3.c @@ -1,4 +1,4 @@ -/* $Id: xslt3.c,v 1.6 2006-03-31 15:58:10 adam Exp $ +/* $Id: xslt3.c,v 1.7 2006-04-26 13:27:16 marc Exp $ Copyright (C) 1995-2005 Index Data ApS @@ -26,6 +26,7 @@ Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA static void tst(int argc, char **argv) { char path[256]; + char profile_path[256]; char record_buf[20000]; const char *records_array[] = { record_buf, 0 @@ -42,6 +43,10 @@ static void tst(int argc, char **argv) zebra_init(zh); + sprintf(profile_path, "%s:%s/../../tab", + tl_get_srcdir(), tl_get_srcdir()); + zebra_set_resource(zh, "profilePath", profile_path); + zebra_set_resource(zh, "recordType", "xslt.marcschema-one.xml"); sprintf(path, "%.200s/marc-one.xml", tl_get_srcdir());