diff options
author | DJ Delorie <dj@redhat.com> | 2024-08-07 16:55:16 -0400 |
---|---|---|
committer | DJ Delorie <dj@redhat.com> | 2024-09-04 16:24:12 -0400 |
commit | 4945ffc88a8ad49280bae64165683ddfd12b2390 (patch) | |
tree | 5fdd3053c2276b38c2d6a10510ac12666a50cccb /stdio-common/Makefile | |
parent | ed4bb289cf739f537deb735eaa01be531df084b9 (diff) | |
download | glibc-4945ffc88a8ad49280bae64165683ddfd12b2390.zip glibc-4945ffc88a8ad49280bae64165683ddfd12b2390.tar.gz glibc-4945ffc88a8ad49280bae64165683ddfd12b2390.tar.bz2 |
fgets: more tests
Add more tests for unusual situations fgets() might see:
* zero size file
* zero sized buffer
* NULL buffer
* NUL data
* writable stream
* closed stream
Reviewed-by: Florian Weimer <fweimer@redhat.com>
Diffstat (limited to 'stdio-common/Makefile')
-rw-r--r-- | stdio-common/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/stdio-common/Makefile b/stdio-common/Makefile index 89871d0..03d597f 100644 --- a/stdio-common/Makefile +++ b/stdio-common/Makefile @@ -209,6 +209,7 @@ tests := \ tst-fdopen \ tst-ferror \ tst-fgets \ + tst-fgets2 \ tst-fileno \ tst-fmemopen \ tst-fmemopen2 \ |