[PATCH] Increase the amount of data tested in stdio-common/tst-fwrite-bz29459.c
Tulio Magno Quites Machado Filho
tuliom@ascii.art.br
Mon Feb 10 20:04:52 GMT 2025
Adhemerval Zanella Netto <adhemerval.zanella@linaro.org> writes:
> I am seeing some failures with this testcase:
>
> $ cat stdio-common/tst-fwrite-bz29459.out
> Error: fwrite did not return an error
>
> With a loaded system on a quite recent chip (Ryzen 5900). Increasing the
> iteration might fix, but I am not sure if this is a long term solution.
> Can't we make it more reliable without this?
I believe that will require to part ways from the reproducer that was attached
to BZ#29459.
I wouldn't be surprised if we ended up with a test that is close
to stdio-common/tst-fwrite-pipe.c , i.e. use pipes instead of a
piped stdout.
Another option is to completely remove stdio-common/tst-fwrite-bz29459
relying only on stdio-common/tst-fwrite-pipe.
--
Tulio Magno
More information about the Libc-alpha
mailing list