Skip to content

Qwen3.8-Flash-Next on any consumer hardware: one-click install for Windows / Linux. Strata inference engine, OpenAI/Anthropic API on localhost, optional image input.

C++

components test: the execute-bit assertion is POSIX-only (NTFS has none); the setuid check stays everywhere

Niko122103d9f35ed5ce
diff --git a/tests/tuning/test_components.py b/tests/tuning/test_components.py
index 1ab2d98d2..61be9437d 100644
--- a/tests/tuning/test_components.py
+++ b/tests/tuning/test_components.py
@@ -251,7 +251,9 @@ class TestSafeExtraction(StoreCase):
tar.addfile(info, io.BytesIO(b"#\n"))
out = self.extract(buffer.getvalue())
mode = (out / "bin/run").stat().st_mode
- self.assertTrue(mode & stat.S_IXUSR, "a bundled runtime needs its executable bit")
+ if os.name != "nt":
+ # NTFS has no execute bit: Windows decides by file extension (.exe), so there is nothing to keep.
+ self.assertTrue(mode & stat.S_IXUSR, "a bundled runtime needs its executable bit")
self.assertFalse(mode & stat.S_ISUID, "setuid from an archive is never trusted")