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
Update for locale API changes.
[idzebra-moved-to-github.git]
/
test
/
api
/
t13.c
diff --git
a/test/api/t13.c
b/test/api/t13.c
index
40d41ca
..
c58b0bc
100644
(file)
--- a/
test/api/t13.c
+++ b/
test/api/t13.c
@@
-1,5
+1,5
@@
-/* $Id: t13.c,v 1.9 2006-08-14 10:40:22 adam Exp $
- Copyright (C) 1995-2006
+/* $Id: t13.c,v 1.14 2007-03-14 11:48:32 adam Exp $
+ Copyright (C) 1995-2007
Index Data ApS
This file is part of the Zebra server.
Index Data ApS
This file is part of the Zebra server.
@@
-83,7
+83,7
@@
static void tst_no_config(void)
static char *xml_buf = "<gils><title>myx</title></gils>";
ZebraService zs;
ZebraHandle zh;
static char *xml_buf = "<gils><title>myx</title></gils>";
ZebraService zs;
ZebraHandle zh;
- SYSNO sysno = 0;
+ zint sysno = 0;
zs = zebra_start_res(0, 0, 0);
YAZ_CHECK(zs);
zs = zebra_start_res(0, 0, 0);
YAZ_CHECK(zs);
@@
-97,12
+97,12
@@
static void tst_no_config(void)
zebra_set_resource(zh, "profilePath", "${srcdir:-.}/../../tab");
zebra_set_resource(zh, "profilePath", "${srcdir:-.}/../../tab");
- YAZ_CHECK_EQ(zebra_insert_record(zh /* handle */,
+ YAZ_CHECK_EQ(zebra_update_record(zh /* handle */,
+ action_insert,
"grs.sgml" /* record type */,
&sysno, 0 /* match */,
0 /* fname */,
"grs.sgml" /* record type */,
&sysno, 0 /* match */,
0 /* fname */,
- xml_buf, strlen(xml_buf),
- 0 /* force_update */),
+ xml_buf, strlen(xml_buf)),
ZEBRA_OK);
zebra_close(zh);
ZEBRA_OK);
zebra_close(zh);
@@
-111,7
+111,6
@@
static void tst_no_config(void)
static void tst(int argc, char **argv)
{
static void tst(int argc, char **argv)
{
- tl_start_log(argc, argv);
tst_res();
tst_no_config();
}
tst_res();
tst_no_config();
}