]> git.ipfire.org Git - thirdparty/glibc.git/commit
libio: Add test case for fflush
authorFrédéric Bérat <fberat@redhat.com>
Mon, 9 Sep 2024 12:43:36 +0000 (14:43 +0200)
committerFrédéric Bérat <fberat@redhat.com>
Mon, 14 Apr 2025 11:27:12 +0000 (13:27 +0200)
commit11e188659db264f6b101d8eb65824ffa5bc91a0a
tree9402002e4f5c37336cd943dd21a7b7d3ae313a40
parent7b47b3dd214c8ff2c699f13efe5533941be53635
libio: Add test case for fflush

Since one path uses _IO_SYNC and the other _IO_OVERFLOW, the newly added
test cases verifies that `fflush (FILE)` and `fflush (NULL)` are
semantically equivalent from the FILE perspective.

Reviewed-by: Joseph Myers <josmyers@redhat.com>
libio/Makefile
libio/tst-fflush-NULL.c [new file with mode: 0644]
libio/tst-fflush-skeleton.c [new file with mode: 0644]
libio/tst-fflush.c [new file with mode: 0644]