From f19d5a2a00dc48dfda777589fdd4ac21252f5ccc Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Thu, 23 Feb 2006 11:26:00 +0000 Subject: [PATCH] Fixup test, due to Zebra returning unsupported use attribute for string attribute values. --- test/xslt/xslt1.c | 5 +++-- test/xslt/xslt2.c | 4 ++-- test/xslt/xslt3.c | 6 +++--- test/xslt/xslt4.c | 4 ++-- 4 files changed, 10 insertions(+), 9 deletions(-) diff --git a/test/xslt/xslt1.c b/test/xslt/xslt1.c index 1e7835a..70b4604 100644 --- a/test/xslt/xslt1.c +++ b/test/xslt/xslt1.c @@ -1,4 +1,4 @@ -/* $Id: xslt1.c,v 1.5 2005-09-13 11:51:11 adam Exp $ +/* $Id: xslt1.c,v 1.6 2006-02-23 11:26:00 adam Exp $ Copyright (C) 1995-2005 Index Data ApS @@ -46,7 +46,8 @@ int main(int argc, char **argv) do_query(__LINE__, zh, "@attr 1=title computer", 3); do_query(__LINE__, zh, "@attr 1=control 11224466", 1); - do_query_x(__LINE__, zh, "@attr 1=titl computer", 0, 121); + do_query_x(__LINE__, zh, "@attr 1=titl computer", 0, 114); + do_query_x(__LINE__, zh, "@attr 1=4 computer", 0, 121); return close_down(zh, zs, 0); } diff --git a/test/xslt/xslt2.c b/test/xslt/xslt2.c index 1929ca7..a164f86 100644 --- a/test/xslt/xslt2.c +++ b/test/xslt/xslt2.c @@ -1,4 +1,4 @@ -/* $Id: xslt2.c,v 1.5 2005-09-13 11:51:11 adam Exp $ +/* $Id: xslt2.c,v 1.6 2006-02-23 11:26:00 adam Exp $ Copyright (C) 1995-2005 Index Data ApS @@ -68,7 +68,7 @@ int main(int argc, char **argv) /* only get hits from first record .. */ do_query(__LINE__, zh, "@attr 1=title computer", 1); do_query(__LINE__, zh, "@attr 1=control 11224466", 1); - do_query_x(__LINE__, zh, "@attr 1=titl computer", 0, 121); + do_query_x(__LINE__, zh, "@attr 1=titl computer", 0, 114); return close_down(zh, zs, 0); } diff --git a/test/xslt/xslt3.c b/test/xslt/xslt3.c index c0d949c..8b85959 100644 --- a/test/xslt/xslt3.c +++ b/test/xslt/xslt3.c @@ -1,4 +1,4 @@ -/* $Id: xslt3.c,v 1.4 2005-09-13 11:51:11 adam Exp $ +/* $Id: xslt3.c,v 1.5 2006-02-23 11:26:00 adam Exp $ Copyright (C) 1995-2005 Index Data ApS @@ -67,7 +67,7 @@ int main(int argc, char **argv) /* only get hits from first record .. */ do_query(__LINE__, zh, "@attr 1=title computer", 1); do_query(__LINE__, zh, "@attr 1=control 11224466", 1); - do_query_x(__LINE__, zh, "@attr 1=titl computer", 0, 121); + do_query_x(__LINE__, zh, "@attr 1=titl computer", 0, 114); /* index one more time to see that we don't get dups, since @@ -77,7 +77,7 @@ int main(int argc, char **argv) /* only get hits from first record .. */ do_query(__LINE__, zh, "@attr 1=title computer", 1); do_query(__LINE__, zh, "@attr 1=control 11224466", 1); - do_query_x(__LINE__, zh, "@attr 1=titl computer", 0, 121); + do_query_x(__LINE__, zh, "@attr 1=titl computer", 0, 114); diff --git a/test/xslt/xslt4.c b/test/xslt/xslt4.c index 8c47f40..42685db 100644 --- a/test/xslt/xslt4.c +++ b/test/xslt/xslt4.c @@ -1,4 +1,4 @@ -/* $Id: xslt4.c,v 1.2 2005-09-13 11:51:11 adam Exp $ +/* $Id: xslt4.c,v 1.3 2006-02-23 11:26:00 adam Exp $ Copyright (C) 1995-2005 Index Data ApS @@ -48,7 +48,7 @@ int main(int argc, char **argv) do_query(__LINE__, zh, "@attr 1=title computer", 3); do_query(__LINE__, zh, "@attr 1=control 11224466", 1); - do_query_x(__LINE__, zh, "@attr 1=titl computer", 0, 121); + do_query_x(__LINE__, zh, "@attr 1=titl computer", 0, 114); if (1) { -- 1.7.10.4