frombus: the A-480 rows join the held-rows test, no new test function

Builds: design 47 G A-480 (G-22-lead-answers-2.md)
This commit is contained in:
2026-11-17 23:01:09 +01:00
parent baeb87d195
commit e7803f8943
+6 -7
View File
@@ -337,14 +337,13 @@ func TestASecondClaimantOfASeatIsHeldAndTheNodeComposesTheRest(t *testing.T) {
t.Errorf("running %v: the answer is %+v, want beta refused with the claim's words", running, ans)
}
}
}
// A-480 (design 47 G): a module the node holds keeps running what it runs, and so keeps providing what its running build provides,
// whatever its catalogue entry: the module that requires it is not held for "nothing provides" (live, 2026-11-17 22:52: feh on g14
// held for "x11-display" while xorg runs there, held only for want of an entry of its wanted build). The offer is the running
// composition's build's manifest (the builder's done key), else the manifest the module's `running` event names; a module
// neither running nor composable still gives "nothing provides".
func TestAHeldModuleStillProvidesWhatItsRunningBuildProvides(t *testing.T) {
// A-480 rows, in this test to keep the module's count:
// A-480 (design 47 G): a module the node holds keeps running what it runs, and so keeps providing what its running build provides,
// whatever its catalogue entry: the module that requires it is not held for "nothing provides" (live, 2026-11-17 22:52: feh on g14
// held for "x11-display" while xorg runs there, held only for want of an entry of its wanted build). The offer is the running
// composition's build's manifest (the builder's done key), else the manifest the module's `running` event names; a module
// neither running nor composable still gives "nothing provides".
const xorgRunning = `{"module":"xorg","version":"1","provides":[{"name":"x11-display"}]}`
feh := `{"module":"feh","version":"1","requires":["x11-display"]}`
nameOnly := `{"module":"xorg","version":"0"}`