]> git.ipfire.org Git - thirdparty/util-linux.git/commit
tests: improve test_sysinfo to check for NS_GET_NSTYPE usability
authorKarel Zak <kzak@redhat.com>
Wed, 5 Mar 2025 08:53:34 +0000 (09:53 +0100)
committerKarel Zak <kzak@redhat.com>
Wed, 5 Mar 2025 08:53:34 +0000 (09:53 +0100)
commit4391638806a40b71383646a33ed022476f4c9dea
tree4391bf99b2ffa380feb19367f65c4cd3661abbc8
parent9c45b256adfc22edbf3783731b7be2b924c8de85
tests: improve test_sysinfo to check for NS_GET_NSTYPE usability

Now the test checks if the kernel supports the NS_GET_NSTYPE ioctl,
but it seems that on some platforms it's implemented but does not work
as expected and returns ENOTTY.

Signed-off-by: Karel Zak <kzak@redhat.com>
tests/helpers/test_sysinfo.c