From 8c97a3fd57fb9c0f12dcefae6c83b7b1cf462a69 Mon Sep 17 00:00:00 2001 From: GF Date: Sat, 26 Sep 2026 21:49:35 -0400 Subject: [PATCH] Align release orchestration fixture with 0.11.1 baseline --- xtask/tests/command_orchestration.rs | 4 ++-- xtask/tests/command_orchestration/support.rs | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/xtask/tests/command_orchestration.rs b/xtask/tests/command_orchestration.rs index 5a9741724..dbb4c90e0 100644 --- a/xtask/tests/command_orchestration.rs +++ b/xtask/tests/command_orchestration.rs @@ -119,8 +119,8 @@ fn release_critical_orchestrators_run_from_the_workspace_without_real_cargo() { assert!(log.contains("package -p j2k-cli --no-verify")); #[cfg(target_os = "macos")] { - assert!(log.contains("git rev-parse v0.11.0^{commit}")); - assert!(log.contains("git show v0.11.0:docs/stable-api-1.0.public-api.txt")); + assert!(log.contains("git rev-parse v0.11.1^{commit}")); + assert!(log.contains("git show v0.11.1:docs/stable-api-1.0.public-api.txt")); } } diff --git a/xtask/tests/command_orchestration/support.rs b/xtask/tests/command_orchestration/support.rs index 2338e4446..a5868b767 100644 --- a/xtask/tests/command_orchestration/support.rs +++ b/xtask/tests/command_orchestration/support.rs @@ -60,7 +60,7 @@ impl Harness { fs::write( &git, format!( - "#!/bin/sh\nprintf 'git %s\\n' \"$*\" >> '{}'\nif [ \"$1\" = status ]; then exit 0; fi\nif [ \"$1\" = config ] && [ \"$2\" = --get ] && [ \"$3\" = remote.origin.url ]; then printf '%s\\n' 'git@example.invalid:frames-sg/j2k.git'; exit 0; fi\nif [ \"$1\" = rev-parse ] && [ \"$2\" = 'v0.11.0^{{commit}}' ]; then printf '%s\\n' '09d746a7b040258eb5dd505b44384eec0152a8b9'; exit 0; fi\nif [ \"$1\" = show ] && [ \"$2\" = 'v0.11.0:docs/stable-api-1.0.public-api.txt' ]; then exec cat '{}'; fi\nif [ \"$1\" = rev-parse ] && [ \"${{2#v}}\" != \"$2\" ]; then printf 'unexpected release revision: %s\\n' \"$2\" >&2; exit 97; fi\nif [ \"$1\" = show ] && [ \"${{2#v}}\" != \"$2\" ]; then printf 'unexpected release object: %s\\n' \"$2\" >&2; exit 97; fi\nexec \"{}\" \"$@\"\n", + "#!/bin/sh\nprintf 'git %s\\n' \"$*\" >> '{}'\nif [ \"$1\" = status ]; then exit 0; fi\nif [ \"$1\" = config ] && [ \"$2\" = --get ] && [ \"$3\" = remote.origin.url ]; then printf '%s\\n' 'git@example.invalid:frames-sg/j2k.git'; exit 0; fi\nif [ \"$1\" = rev-parse ] && [ \"$2\" = 'v0.11.1^{{commit}}' ]; then printf '%s\\n' 'c1f094cfb3ec93360d6f2c434ec9bc96fad169b0'; exit 0; fi\nif [ \"$1\" = show ] && [ \"$2\" = 'v0.11.1:docs/stable-api-1.0.public-api.txt' ]; then exec cat '{}'; fi\nif [ \"$1\" = rev-parse ] && [ \"${{2#v}}\" != \"$2\" ]; then printf 'unexpected release revision: %s\\n' \"$2\" >&2; exit 97; fi\nif [ \"$1\" = show ] && [ \"${{2#v}}\" != \"$2\" ]; then printf 'unexpected release object: %s\\n' \"$2\" >&2; exit 97; fi\nexec \"{}\" \"$@\"\n", log.display(), baseline_snapshot.display(), real_git.display()