From: Adam Dickmeiss Date: Tue, 30 May 2006 13:06:35 +0000 (+0000) Subject: Show iteration number if t15 fails X-Git-Tag: before.bug.529~95 X-Git-Url: http://jsfdemo.indexdata.com/cgi-bin?a=commitdiff_plain;h=98d7e1e7378345d4d6b8b547ba25f2f0801b1a46;p=idzebra-moved-to-github.git Show iteration number if t15 fails --- diff --git a/test/api/t15.c b/test/api/t15.c index ebc1909..ea7f31c 100644 --- a/test/api/t15.c +++ b/test/api/t15.c @@ -1,4 +1,4 @@ -/* $Id: t15.c,v 1.4 2006-05-10 08:13:35 adam Exp $ +/* $Id: t15.c,v 1.5 2006-05-30 13:06:35 adam Exp $ Copyright (C) 2004-2005 Index Data ApS @@ -64,8 +64,8 @@ static void search_process(ZebraService zs, int iter) YAZ_CHECK(hits >= hits_max); if (hits < hits_max) - printf("hits=%lld hits_max=%lld\n", hits, hits_max); - hits_max = hits; + printf("i=%d hits=%lld hits_max=%lld\n", i, hits, hits_max); + hits_max = hits; zebra_close(zh); } }