Skip to content

Commit 87436ee

Browse files
committed
fix(smoke fixture): update assertions for legacy 4-file + current 5-file layouts (dual-accept)
1 parent 032584c commit 87436ee

1 file changed

Lines changed: 8 additions & 5 deletions

File tree

‎tests/test_smoke_fixture_contract.sh‎

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -195,8 +195,9 @@ require(
195195
"fixture checksums must name exact artifact basenames, never ./-prefixed paths",
196196
)
197197
198-
# Native Windows packages and serves the exact five-file standard bundle or
199-
# six-file UI bundle (one native binary), then runs the full smoke from a
198+
# Native Windows packages and serves the current five-file standard bundle
199+
# (or legacy four-file / matching UI +1 layouts) with one native binary, then
200+
# runs the full smoke from a
200201
# protected profile-rooted directory/cache.
201202
for name in (
202203
"codebase-memory-mcp.exe",
@@ -380,13 +381,15 @@ require(
380381
needle in unix_installer
381382
for needle in (
382383
"ARCHIVE_MEMBER_COUNT",
383-
"EXPECTED_MEMBER_COUNT=5",
384-
"EXPECTED_MEMBER_COUNT=6",
384+
"EXPECTED_CORE_COUNT=4",
385+
"EXPECTED_CORE_COUNT=5",
386+
"EXPECTED_MEMBER_COUNT=$EXPECTED_CORE_COUNT",
385387
"^cbm-ui-[0-9a-f]{64}\\.pack$",
386388
"release archive contains unexpected member",
387389
)
388390
),
389-
"install.sh must validate the exact five-member standard or six-member UI archive",
391+
"install.sh must validate legacy 4-file and current 5-file standard archives "
392+
"(plus optional UI pack on either layout)",
390393
)
391394
unix_binary_publish = unix_installer.find('"$DLBIN" install "${INSTALL_ARGS[@]}"')
392395
require(

0 commit comments

Comments
 (0)