* string/test-memset.c (test_main): Use negative byte value is

test.
This commit is contained in:
Ulrich Drepper 2005-07-25 01:40:59 +00:00
parent 03c4ded352
commit 09987e425c
2 changed files with 4 additions and 2 deletions

View File

@ -1,8 +1,10 @@
2005-07-24 Ulrich Drepper <drepper@redhat.com>
* string/test-memset.c (test_main): Use negative byte value is
test.
* string/test-memset.c (do_one_test): Compare effect of call, not
only return value.
Add a few casts to avoid warnings.
2005-07-24 SUGIOKA Toshinobu <sugioka@itonet.co.jp>

View File

@ -193,7 +193,7 @@ test_main (void)
printf ("\t%s", impl->name);
putchar ('\n');
for (c = 0; c <= 130; c += 65)
for (c = -65; c <= 130; c += 65)
{
for (i = 0; i < 18; ++i)
do_test (0, c, 1 << i);