diff options
| author | Florian Weimer <fweimer@redhat.com> | 2024-08-30 20:37:18 +0200 |
|---|---|---|
| committer | Florian Weimer <fweimer@redhat.com> | 2024-08-30 21:12:01 +0200 |
| commit | 424d97be50488beb6196c0ff0bc3dfeb87b4281c (patch) | |
| tree | d6aa364c153bf41d0a551f78bbdfa267a7f41b8c /io/Makefile | |
| parent | 29f0db6a2e00fb17f5fe1eb1eee853436247ffe2 (diff) | |
| download | glibc-424d97be50488beb6196c0ff0bc3dfeb87b4281c.tar.xz glibc-424d97be50488beb6196c0ff0bc3dfeb87b4281c.zip | |
io: Add error tests for fchmod
On Linux most descriptors that do not correspond to file system
entities (such as anonymous pipes and sockets) have file permissions
that can be changed. While it is possible to create a custom file
system that returns (say) EINVAL for an fchmod attempt, testing this
does not appear to be useful.
Reviewed-by: Carlos O'Donell <carlos@redhat.com>
Diffstat (limited to 'io/Makefile')
| -rw-r--r-- | io/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/io/Makefile b/io/Makefile index 19932d50f7..47666a1deb 100644 --- a/io/Makefile +++ b/io/Makefile @@ -188,6 +188,7 @@ tests := \ tst-closefrom \ tst-copy_file_range \ tst-faccessat \ + tst-fchmod-errors \ tst-fchmodat \ tst-fchownat \ tst-fcntl \ |
