projects
/
yaz-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
No leading spaces in warning comments
[yaz-moved-to-github.git]
/
test
/
tsticonv.c
diff --git
a/test/tsticonv.c
b/test/tsticonv.c
index
a3fbda1
..
a011c37
100644
(file)
--- a/
test/tsticonv.c
+++ b/
test/tsticonv.c
@@
-2,7
+2,7
@@
* Copyright (C) 1995-2005, Index Data ApS
* See the file LICENSE for details.
*
* Copyright (C) 1995-2005, Index Data ApS
* See the file LICENSE for details.
*
- * $Id: tsticonv.c,v 1.6 2005-02-01 21:07:19 adam Exp $
+ * $Id: tsticonv.c,v 1.8 2005-02-02 23:27:05 adam Exp $
*/
#if HAVE_CONFIG_H
*/
#if HAVE_CONFIG_H
@@
-136,7
+136,8
@@
static void tst_marc8_to_ucs4b()
}, {
"\x61\xC2", /* a, phonorecord mark */
8, "\x00\x00\x00\x61" "\x00\x00\x21\x17"
}, {
"\x61\xC2", /* a, phonorecord mark */
8, "\x00\x00\x00\x61" "\x00\x00\x21\x17"
- }, {
+ },
+ { /* bug #258 */
"el" "\xe8" "am\xe8" "an", /* elaman where a is a" */
32,
"\x00\x00\x00" "e"
"el" "\xe8" "am\xe8" "an", /* elaman where a is a" */
32,
"\x00\x00\x00" "e"
@@
-147,7
+148,12
@@
static void tst_marc8_to_ucs4b()
"\x00\x00\x00" "a"
"\x00\x00\x03\x08"
"\x00\x00\x00" "n"
"\x00\x00\x00" "a"
"\x00\x00\x03\x08"
"\x00\x00\x00" "n"
- }, {
+ },
+ { /* bug #260 */
+ "\xe5\xe8\x41",
+ 12, "\x00\x00\x00\x41" "\x00\x00\x03\x04" "\x00\x00\x03\x08"
+ },
+ {
0, 0, 0
}
};
0, 0, 0
}
};
@@
-160,7
+166,7
@@
static void tst_marc8_to_ucs4b()
printf ("tsticonv 20 yaz_iconv_open failed\n");
exit(20);
}
printf ("tsticonv 20 yaz_iconv_open failed\n");
exit(20);
}
- for (i = 6; ar[i].len; i++)
+ for (i = 0; ar[i].len; i++)
{
size_t r;
size_t expect_len = ar[i].len;
{
size_t r;
size_t expect_len = ar[i].len;