Update: qualify on Windows

- Install.cpp: open the staging download with _wopen in binary mode and
  use _commit instead of fsync on Windows (O_EXCL already rejects a
  pre-existing entry, so O_NOFOLLOW has no Windows equivalent to keep).
- tests: add a @requires-openssl gate for files that sign fixtures with
  OpenSSL headers (unavailable in the Windows environment), and skip the
  compressed-package fixture when the Archive backend has no LibArchive.

Verified: Windows cross build under Wine 11 (x86_64-w64-mingw32 GCC 16.2)
966 tests, 954 passed, 12 skipped, 0 failed; Linux Update+Testing 982
tests, 978 passed, 4 skipped, 0 failed. Allowlist Update for Windows.
This commit is contained in:
faumaray committed 2026-12-06 04:00:50 +03:00
1 parent 501b6813bc
commit 695c9b6be2
6 files changed
+58 -6

No files matched your search

+1
View File
@@ -1,3 +1,4 @@
// @requires-openssl: signs feed fixtures with OpenSSL Ed25519.
#include <Void/Update/Update.hpp>
#include <Void/System/TempDir.hpp>
#include <Void/Testing/Assert.hpp>