From 424d97be50488beb6196c0ff0bc3dfeb87b4281c Mon Sep 17 00:00:00 2001 From: Florian Weimer Date: Fri, 30 Aug 2024 20:37:18 +0200 Subject: 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 --- io/Makefile | 1 + 1 file changed, 1 insertion(+) (limited to 'io/Makefile') 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 \ -- cgit v1.2.3