From: Masatake YAMATO Date: Tue, 16 Jun 2026 17:39:21 +0000 (+0900) Subject: tests: (lsfd::mkfds-multiplexing,refactor) use ENOSYS connstant X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d4e1828832f8045b4a6f98dc9df6656315aa77ce;p=thirdparty%2Futil-linux.git tests: (lsfd::mkfds-multiplexing,refactor) use ENOSYS connstant Signed-off-by: Masatake YAMATO --- diff --git a/tests/ts/lsfd/mkfds-multiplexing b/tests/ts/lsfd/mkfds-multiplexing index 79f4d5530..67a1434c7 100755 --- a/tests/ts/lsfd/mkfds-multiplexing +++ b/tests/ts/lsfd/mkfds-multiplexing @@ -19,6 +19,7 @@ TS_DESC="XMODE.m for classical system calls for multiplexing" . "$TS_TOPDIR"/functions.sh ts_init "$*" +. "$TS_SELF/lsfd-functions.bash" ts_check_test_command "$TS_CMD_LSFD" ts_check_test_command "$TS_HELPER_MKFDS" @@ -89,7 +90,7 @@ for multiplexer in pselect6 select poll ppoll; do fi wait "$MKFDS_CPID" - if [ $? -eq 23 ]; then + if [ $? -eq "$ENOSYS" ]; then ts_skip "the $multiplexer syscall is not available (ENOSYS)" fi ts_finalize_subtest