mirror of
https://github.com/Corfirean/coa-server-manager.git
synced 2026-11-25 11:25:56 +00:00
Merge remote-tracking branch 'origin/integrate/release-20261125' into preview/release-0.9.18
This commit is contained in:
commit
833094bc9f
1 file changed
+7
-1
@@ -1099,7 +1099,13 @@ mod tests {
|
||||
"database, then world, then auth"
|
||||
);
|
||||
let calls = sim.calls_of("run");
|
||||
let mount = format!("{}:/srv/Extras/PlayerbotCharacters:ro", assets.display());
|
||||
// The containers get the canonical server folder; a temporary folder may be a short or linked path.
|
||||
let host = std::fs::canonicalize(&root).unwrap();
|
||||
let host = crate::fsx::canonicalize_lenient(&host).unwrap_or(host);
|
||||
let mount = format!(
|
||||
"{}:/srv/Extras/PlayerbotCharacters:ro",
|
||||
host.join(crate::modules::pbc::ASSET_DIR).display()
|
||||
);
|
||||
assert!(calls[1].args.windows(2).any(|w| w == ["--volume", mount.as_str()]));
|
||||
assert!(!calls[0].args.contains(&mount) && !calls[2].args.contains(&mount));
|
||||
let exec = sim.calls_of("exec");
|
||||
|
||||
Reference in new issue
Block a user