This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: grep testsuite: test-fwrite fails with git glibc


On Sun, Nov 25, 2012 at 10:20:20AM +0100, Andreas Jaeger wrote:
> So, this patch fixes the grep testsuite? Great! Could you add a
> testcase for glibc so that we don't regress again?
> 

Here's an updated patch with a test case adapted from the grep
testsuite.  I did not run the grep testsuite directly, but I compiled
and executed all programs in gnulib-tests to ensure that there isn't
another failure.

Siddhesh

ChangeLog:

	* libio/Makefile (tests): Add test case tst-fwrite-error.
	* libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
	* libio/iofwrite_u.c (fwrite_unlocked): Likewise.
	* libio/tst-fwrite-error.c: New test case.

Attachment: patch
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]