[PATCH] test-errno-linux: quotactl can fail with EPERM in containers

Florian Weimer fweimer@redhat.com
Thu Nov 2 12:57:00 GMT 2017


On 10/30/2017 12:25 PM, Adhemerval Zanella wrote:
> 
> On 21/10/2017 13:39, Florian Weimer wrote:
>> 2017-10-21  Florian Weimer<fweimer@redhat.com>
>>
>> 	test-errno-linux: quotactl can fail with EPERM in containers.
>> 	* sysdeps/unix/sysv/linux/test-errno-linux.c
>> 	(LIST, LIST_FORWARD): New macros.
>> 	(check_error_in_list): New function.
>> 	(test_wrp_rv): Accept list of permitted error codes.
>> 	(test_wrp_rv2): Remove.
>> 	(test_wrp): Call test_wrp_rv with list of error codes.
>> 	(test_wrp2): Accept list of error codes.
>> 	(do_test): Adjust.  Allow EPERM for quotactl.
> I think it is worth a comment about this possible failure case below
> the test.
> 
> Reviewed-by: Adhemerval Zanella<adhemerval.zanella@linaro.org>

Thanks, I pushed this with an updated comment.

Florian



More information about the Libc-alpha mailing list