projects
/
idzebra-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Moved file locking utilities from index/lockutil.c to util/flock.c
[idzebra-moved-to-github.git]
/
test
/
xslt
/
xslt1.c
diff --git
a/test/xslt/xslt1.c
b/test/xslt/xslt1.c
index
07788ee
..
70b4604
100644
(file)
--- a/
test/xslt/xslt1.c
+++ b/
test/xslt/xslt1.c
@@
-1,4
+1,4
@@
-/* $Id: xslt1.c,v 1.3 2005-05-31 14:18:17 adam Exp $
+/* $Id: xslt1.c,v 1.6 2006-02-23 11:26:00 adam Exp $
Copyright (C) 1995-2005
Index Data ApS
Copyright (C) 1995-2005
Index Data ApS
@@
-27,15
+27,15
@@
int main(int argc, char **argv)
char path[256];
ZebraService zs = start_up(0, argc, argv);
char path[256];
ZebraService zs = start_up(0, argc, argv);
- ZebraHandle zh = zebra_open(zs);
+ ZebraHandle zh = zebra_open(zs, 0);
- check_filter(zs, "xslt1");
+ check_filter(zs, "xslt");
zebra_select_database(zh, "Default");
zebra_init(zh);
zebra_select_database(zh, "Default");
zebra_init(zh);
- zebra_set_resource(zh, "recordType", "xslt1.marcschema.xml");
+ zebra_set_resource(zh, "recordType", "xslt.marcschema-col.xml");
zebra_begin_trans(zh, 1);
sprintf(path, "%.200s/marc-col.xml", get_srcdir());
zebra_begin_trans(zh, 1);
sprintf(path, "%.200s/marc-col.xml", get_srcdir());
@@
-46,7
+46,8
@@
int main(int argc, char **argv)
do_query(__LINE__, zh, "@attr 1=title computer", 3);
do_query(__LINE__, zh, "@attr 1=control 11224466", 1);
do_query(__LINE__, zh, "@attr 1=title computer", 3);
do_query(__LINE__, zh, "@attr 1=control 11224466", 1);
- do_query_x(__LINE__, zh, "@attr 1=titl computer", 0, 121);
+ do_query_x(__LINE__, zh, "@attr 1=titl computer", 0, 114);
+ do_query_x(__LINE__, zh, "@attr 1=4 computer", 0, 121);
return close_down(zh, zs, 0);
}
return close_down(zh, zs, 0);
}