X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=test%2Fapi%2Ft13.c;h=691d70006b39c58048494285855889424d25f184;hb=6e8b41b7843838b712f1c25ca1be1f61edf1bc5d;hp=551cb8c8a57b3efced53331b656d28e3cbb07613;hpb=74fdf8a15af7bb827a256d9df3ecc34a57d2120f;p=idzebra-moved-to-github.git diff --git a/test/api/t13.c b/test/api/t13.c index 551cb8c..691d700 100644 --- a/test/api/t13.c +++ b/test/api/t13.c @@ -1,5 +1,5 @@ -/* $Id: t13.c,v 1.6 2006-03-31 15:58:05 adam Exp $ - Copyright (C) 1995-2005 +/* $Id: t13.c,v 1.11 2006-11-22 14:06:53 adam Exp $ + Copyright (C) 1995-2006 Index Data ApS This file is part of the Zebra server. @@ -15,9 +15,9 @@ FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License -along with Zebra; see the file LICENSE.zebra. If not, write to the -Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA -02111-1307, USA. +along with this program; if not, write to the Free Software +Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + */ /** test resources */ @@ -83,7 +83,7 @@ static void tst_no_config(void) static char *xml_buf = "myx"; ZebraService zs; ZebraHandle zh; - SYSNO sysno = 0; + zint sysno = 0; zs = zebra_start_res(0, 0, 0); YAZ_CHECK(zs); @@ -109,4 +109,18 @@ static void tst_no_config(void) zebra_stop(zs); } +static void tst(int argc, char **argv) +{ + tst_res(); + tst_no_config(); +} + TL_MAIN +/* + * Local variables: + * c-basic-offset: 4 + * indent-tabs-mode: nil + * End: + * vim: shiftwidth=4 tabstop=8 expandtab + */ +