X-Git-Url: http://git.indexdata.com/?p=idzebra-moved-to-github.git;a=blobdiff_plain;f=test%2Fapi%2Ft13.c;h=47e38ef8f9e5ccd51bca4af7d58fcf92b7df42f9;hp=d0d77306f26453c78954d6941bcd5f963fbc010d;hb=1922579d92e1a9559d4c3ab4f1cf461f56c83c3b;hpb=46c0e649af38cec11668a4a15ab10915b06ccbc1 diff --git a/test/api/t13.c b/test/api/t13.c index d0d7730..47e38ef 100644 --- a/test/api/t13.c +++ b/test/api/t13.c @@ -1,8 +1,5 @@ -/* $Id: t13.c,v 1.13 2007-03-13 13:46:11 adam Exp $ - Copyright (C) 1995-2007 - Index Data ApS - -This file is part of the Zebra server. +/* This file is part of the Zebra server. + Copyright (C) 1995-2008 Index Data Zebra is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free @@ -97,12 +94,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), - 1 /* force_update */), + xml_buf, strlen(xml_buf)), ZEBRA_OK); zebra_close(zh);