From: Thomas Weißschuh Date: Mon, 29 Apr 2024 06:11:57 +0000 (+0200) Subject: lsfd: (tests) skip tests using fd flags on qemu-user X-Git-Tag: v2.42-start~302^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dd8ef6c062fe0b11f2c3c0cc50270e97fde4c1e2;p=thirdparty%2Futil-linux.git lsfd: (tests) skip tests using fd flags on qemu-user The flags value visible in /proc/$PID/fdinfo/ is encoded using the platform the kernel is running on. Not all platforms use the same numeric flag value, making this cross-platform interpretation brittle. Signed-off-by: Thomas Weißschuh --- diff --git a/tests/ts/lsfd/mkfds-directory b/tests/ts/lsfd/mkfds-directory index 738cb8688..272bdb387 100755 --- a/tests/ts/lsfd/mkfds-directory +++ b/tests/ts/lsfd/mkfds-directory @@ -20,6 +20,8 @@ TS_DESC="directory" . "$TS_TOPDIR"/functions.sh ts_init "$*" +ts_skip_qemu_user + ts_check_test_command "$TS_CMD_LSFD" ts_check_test_command "$TS_CMD_FINDMNT" ts_check_test_command "$TS_HELPER_MKFDS" diff --git a/tests/ts/lsfd/mkfds-symlink b/tests/ts/lsfd/mkfds-symlink index 56eccca6c..42beaec7a 100755 --- a/tests/ts/lsfd/mkfds-symlink +++ b/tests/ts/lsfd/mkfds-symlink @@ -20,6 +20,8 @@ TS_DESC="symbolic link itself opened with O_PATH" . "$TS_TOPDIR"/functions.sh ts_init "$*" +ts_skip_qemu_user + ts_check_test_command "$TS_CMD_LSFD" ts_check_test_command "$TS_HELPER_MKFDS"