summaryrefslogtreecommitdiff
path: root/tests/unigbrk/test-u8-grapheme-next.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unigbrk/test-u8-grapheme-next.c')
-rw-r--r--tests/unigbrk/test-u8-grapheme-next.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/unigbrk/test-u8-grapheme-next.c b/tests/unigbrk/test-u8-grapheme-next.c
index 5c61d847..10dea9d0 100644
--- a/tests/unigbrk/test-u8-grapheme-next.c
+++ b/tests/unigbrk/test-u8-grapheme-next.c
@@ -1,5 +1,5 @@
/* Next grapheme cluster length test.
- Copyright (C) 2010-2022 Free Software Foundation, Inc.
+ Copyright (C) 2010-2024 Free Software Foundation, Inc.
This program is free software: you can redistribute it and/or modify it
under the terms of the GNU Lesser General Public License as published
@@ -38,11 +38,12 @@ test_u8_grapheme_next (const char *input, size_t n, size_t len)
if (next == NULL)
fputs ("u8_grapheme_next returned NULL", stderr);
else
- fprintf (stderr, "u8_grapheme_next skipped %zu bytes", next - s);
+ fprintf (stderr, "u8_grapheme_next skipped %tu bytes", next - s);
fprintf (stderr, ", expected %zu:\n", len);
for (i = 0; i < n; i++)
fprintf (stderr, " %02x", s[i]);
putc ('\n', stderr);
+ fflush (stderr);
abort ();
}
}