]> git.ipfire.org Git - thirdparty/util-linux.git/commit
tests: (lsns::filter) skip if /proc/self/uid_map is not writable
authorMasatake YAMATO <yamato@redhat.com>
Mon, 6 Jan 2025 08:34:19 +0000 (17:34 +0900)
committerMasatake YAMATO <yamato@redhat.com>
Mon, 6 Jan 2025 18:18:53 +0000 (03:18 +0900)
commit237f31e883445e6db91332612a102fc0aa19420d
tree2357dcdc8b10d0f7c09eb9eb778e2c90ab4f68e5
parent0a14cfc32abc62f1fd117891d523bd5349eda6e8
tests: (lsns::filter) skip if /proc/self/uid_map is not writable

On some platforms, lsns::filter test failed with the following
message:

   +test_mkfds: failed to write to /proc/self/uid_map: -1: Operation
   not permitted

This change is to skip the test case on such platforms.

Signed-off-by: Masatake YAMATO <yamato@redhat.com>
tests/helpers/test_mkfds.c
tests/ts/lsfd/lsfd-functions.bash
tests/ts/lsns/filter