]> git.ipfire.org Git - thirdparty/util-linux.git/commit
tests: (test_sysinfo) add helper for invalid ioctl errno
authorThomas Weißschuh <thomas@t-8ch.de>
Sun, 30 Apr 2023 08:18:20 +0000 (10:18 +0200)
committerThomas Weißschuh <thomas@t-8ch.de>
Sun, 30 Apr 2023 22:54:23 +0000 (00:54 +0200)
commiteefdc51113c50798f7b332e9dc48c6631ec9c841
tree309ca197fdbd7635f366fc60288c8b98c3ce4ea3
parentfc57ad3e10352e83ae86f7d77472c723384f4434
tests: (test_sysinfo) add helper for invalid ioctl errno

This can be used to detect qemu-user returning ENOSYS for invalid ioctl
numbers.

Signed-off-by: Thomas Weißschuh <thomas@t-8ch.de>
tests/functions.sh
tests/helpers/test_sysinfo.c