]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
tests: improve lsfd test
authorWanBingjiang <wanbingjiang@webray.com.cn>
Mon, 30 Mar 2026 09:27:42 +0000 (17:27 +0800)
committerWanBingjiang <wanbingjiang@webray.com.cn>
Mon, 30 Mar 2026 09:27:42 +0000 (17:27 +0800)
The assoc-pidfs use the getino command. Set "TS_KNOWN_FAIL" if
the condition are not met.

Signed-off-by: WanBingjiang <wanbingjiang@webray.com.cn>
tests/ts/lsfd/assoc-pidfs

index 238d6cad75570535be7e48b69aec850eefa156da..f8576a8b38e7adb87536ac6a42ce5c3cd0ed3751 100755 (executable)
@@ -20,6 +20,10 @@ TS_DESC="pidfs association"
 . "$TS_TOPDIR"/functions.sh
 ts_init "$*"
 
+if ts_kernel_ver_lt 6 9; then
+       TS_KNOWN_FAIL="yes"
+fi
+
 ts_check_test_command "$TS_CMD_LSFD"
 ts_check_test_command "$TS_CMD_GETINO"
 ts_check_test_command "$TS_HELPER_MKFDS"