Fixup test, due to Zebra returning unsupported use attribute for
authorAdam Dickmeiss <adam@indexdata.dk>
Thu, 23 Feb 2006 11:26:00 +0000 (11:26 +0000)
committerAdam Dickmeiss <adam@indexdata.dk>
Thu, 23 Feb 2006 11:26:00 +0000 (11:26 +0000)
string attribute values.

test/xslt/xslt1.c
test/xslt/xslt2.c
test/xslt/xslt3.c
test/xslt/xslt4.c

index 1e7835a..70b4604 100644 (file)
@@ -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);
 }
index 1929ca7..a164f86 100644 (file)
@@ -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);
 }
index c0d949c..8b85959 100644 (file)
@@ -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);
     
 
     
index 8c47f40..42685db 100644 (file)
@@ -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)
     {