fix(test): the close-stops-a-backup test is unix-only, as its helpers are
check / check (cli) (push) Canceled after 0s
check / check (gui-tests) (push) Canceled after 0s
check / check (gui-unit) (push) Canceled after 0s
check / check (lint) (push) Canceled after 0s
check / check (rest) (push) Canceled after 0s
portable-macos / portable (macos-latest) (push) Canceled after 0s
portable-windows / portable (windows-latest) (push) Canceled after 0s
two-user / two-user (push) Canceled after 0s
check / check (cli) (push) Canceled after 0s
check / check (gui-tests) (push) Canceled after 0s
check / check (gui-unit) (push) Canceled after 0s
check / check (lint) (push) Canceled after 0s
check / check (rest) (push) Canceled after 0s
portable-macos / portable (macos-latest) (push) Canceled after 0s
portable-windows / portable (windows-latest) (push) Canceled after 0s
two-user / two-user (push) Canceled after 0s
Windows could not compile book_open_close: the test used three helpers marked unix-only (they speak over a raw unix socket) and was not itself marked. The host's Windows environment also kept a ProgramFiles path it only used to find git, which is gone. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This commit is contained in:
1 parent
c37bbb9a60
commit
00f8aadc71
2 files changed
+1
-2
No files matched your search
@@ -450,8 +450,6 @@ fn host_env(home: &Path) -> Vec<(String, std::ffi::OsString)> {
|
||||
let system_root: PathBuf = var("SystemRoot")
|
||||
.or_else(|| var("windir"))
|
||||
.map_or_else(|| PathBuf::from(r"C:\Windows"), PathBuf::from);
|
||||
let program_files: PathBuf =
|
||||
var("ProgramFiles").map_or_else(|| PathBuf::from(r"C:\Program Files"), PathBuf::from);
|
||||
let path = std::env::join_paths([system_root.join("System32"), system_root.clone()])
|
||||
.unwrap_or_default();
|
||||
let mut env: Vec<(String, std::ffi::OsString)> = vec![
|
||||
|
||||
Reference in new issue
Block a user