From 53c85c99647ded9fab199c97b9383744e2524364 Mon Sep 17 00:00:00 2001 From: salmonik Date: Sun, 15 Nov 2026 18:54:00 +0100 Subject: 0.8.0: comp.sh reports how to build for the machine it runs on Detects distro, arch, libc/glibc, CPU baseline and toolchain, prints the target triple, build command, cfg values, and the portable paths (static musl, older glibc image, cargo-zigbuild). --run builds and checks; --musl and --old-glibc select the other plans. Verified: native gnu build needs GLIBC_2.34; static musl build runs on Debian 10 and reaches the live API. --- tests/sessions.rs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tests/sessions.rs') diff --git a/tests/sessions.rs b/tests/sessions.rs index df2f3b2..748b689 100644 --- a/tests/sessions.rs +++ b/tests/sessions.rs @@ -67,6 +67,9 @@ fn sessions_create_list_and_replay() { #[test] fn cli_lists_sessions_without_a_key() { + // Spawning holds a copy of the process's file descriptions between fork and + // exec, which would keep a session lock alive while another test drops it. + let _env = ENV_LOCK.lock().unwrap_or_else(|e| e.into_inner()); let dir = temp_dir("cli"); let output = Command::new(env!("CARGO_BIN_EXE_agent686")) .env("AGENT686_DATA", &dir) -- cgit v1.2.3