From 5bb64275375204fb38d6511db0d08ffd07f89ebf Mon Sep 17 00:00:00 2001 From: propelluo Date: Tue, 31 Mar 2026 15:14:52 +0800 Subject: [PATCH] update tst-open-libfuse Signed-off-by: propelluo --- lib/ts_common.sh | 12 +++++------- tst-open-libfuse | 2 +- 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/lib/ts_common.sh b/lib/ts_common.sh index 281907a..57c4967 100644 --- a/lib/ts_common.sh +++ b/lib/ts_common.sh @@ -7,13 +7,11 @@ g_build_dir="$TST_TS_TOPDIR/tst-open-libfuse/libfuse.install/libfuse/build" _detect_python3() { - local py - for py in python3.12 python3.11 python3.10 python3.9 python3.8; do - if command -v "$py" &>/dev/null; then - echo "$py" - return 0 - fi - done + if command -v python3.12 &>/dev/null && python3.12 -m pytest --version &>/dev/null 2>&1; then + echo "python3.12" + return 0 + fi + echo "WARNING: python3.12 with pytest not found, falling back to python3" >&2 echo "python3" } g_python3="$(_detect_python3)" diff --git a/tst-open-libfuse b/tst-open-libfuse index 6f9cb6f..b11305b 160000 --- a/tst-open-libfuse +++ b/tst-open-libfuse @@ -1 +1 @@ -Subproject commit 6f9cb6f3a81bfbb39ba95822d2a88dbf503d44b1 +Subproject commit b11305b529bedc30ef28deaa80348afc961b8bb1 -- Gitee