X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=test%2Fapi%2Ft13.c;h=c58b0bca5bba29794e17f7716fe14ca84b90c158;hb=9dbf16ff99472e07182dab1c7cf8796a4d357b0c;hp=691d70006b39c58048494285855889424d25f184;hpb=eb44a82db835f33bbd984072ee18dd2ec34ae9cb;p=idzebra-moved-to-github.git diff --git a/test/api/t13.c b/test/api/t13.c index 691d700..c58b0bc 100644 --- a/test/api/t13.c +++ b/test/api/t13.c @@ -1,5 +1,5 @@ -/* $Id: t13.c,v 1.11 2006-11-22 14:06:53 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. @@ -97,12 +97,12 @@ static void tst_no_config(void) 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 */, - xml_buf, strlen(xml_buf), - 0 /* force_update */), + xml_buf, strlen(xml_buf)), ZEBRA_OK); zebra_close(zh);