fix(issue-45): MAM herdr servers start with restore-on-restart off; resume closes its own restored empty shell (v4.8.5) #48
@@ -296,9 +296,10 @@ def test_s11_this_branch_does_not_change_the_generated_shim(mam_sandbox):
|
|||||||
lib.sh materialises into $WORKSPACE_ROOT/.mam/shim/herdr. That file is
|
lib.sh materialises into $WORKSPACE_ROOT/.mam/shim/herdr. That file is
|
||||||
shared by every checkout bound to one control plane, so keeping it
|
shared by every checkout bound to one control plane, so keeping it
|
||||||
byte-identical to base is what makes "the control plane is not modified"
|
byte-identical to base is what makes "the control plane is not modified"
|
||||||
true at runtime."""
|
true at runtime. Issue #45 changed the heredoc on purpose (the bootstrap
|
||||||
|
starts the server with restore-on-restart off), so the base is that commit."""
|
||||||
repo = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
|
repo = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
|
||||||
base = os.environ.get("MAM_BASE_SHA", "1e78dae")
|
base = os.environ.get("MAM_BASE_SHA", "ed73f67")
|
||||||
show = subprocess.run(["git", "show", "%s:.agents/skills/lib.sh" % base],
|
show = subprocess.run(["git", "show", "%s:.agents/skills/lib.sh" % base],
|
||||||
capture_output=True, text=True, cwd=repo)
|
capture_output=True, text=True, cwd=repo)
|
||||||
if show.returncode != 0:
|
if show.returncode != 0:
|
||||||
|
|||||||
Reference in new issue
Block a user