Base: codex-main originale (prima del fork aKode)

This commit is contained in:
Andrea
2026-11-09 10:37:42 +01:00
commit 7874033c81
10166 changed files with 2728937 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
//! The configured executable must not create a new Codex registry when pointed at the wrong directory.
#[test]
fn requires_an_existing_registry_without_creating_databases() -> anyhow::Result<()> {
let directory = tempfile::tempdir()?;
let output = codex_utils_process::background_command(codex_utils_cargo_bin::cargo_bin(
"codex-message-board-mcp",
)?)
.env("CODEX_MESSAGE_BOARD_TOKEN", "startup-test-only-token")
.arg("--sqlite-home")
.arg(directory.path())
.args(["--listen", "127.0.0.1:0"])
.output()?;
assert!(!output.status.success());
assert!(directory.path().read_dir()?.next().is_none());
Ok(())
}