From c607adbe6ab4194d5b61d77a4397b861c093d10d Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Thu, 22 Oct 2026 02:47:36 -0700 Subject: [PATCH] fuse integration: skip non-executable weed path candidates --- test/fuse_integration/framework.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/fuse_integration/framework.go b/test/fuse_integration/framework.go index c0ac39b773..d764fdffdd 100644 --- a/test/fuse_integration/framework.go +++ b/test/fuse_integration/framework.go @@ -381,7 +381,7 @@ func findWeedBinary() string { if _, err := exec.LookPath(candidate); err == nil { return candidate } - if _, err := os.Stat(candidate); err == nil { + if info, err := os.Stat(candidate); err == nil && !info.IsDir() && info.Mode()&0111 != 0 { abs, _ := filepath.Abs(candidate) return abs }