diff options
| author | Ophestra <cat@gensokyo.uk> | 2026-07-23 16:21:20 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2026-07-23 16:39:34 +0900 |
| commit | 67dbb68818026f3d7a64e9519cf1aac36468b7c9 (patch) | |
| tree | 68f1e731242a9c8ef1912a195c2a6aefc53f6da5 /cmd/mbf | |
| parent | 0e689d9983dee9f742c4ed4b2e716fbcb1b84e99 (diff) | |
internal/pkg: implementation revisions
This enables changing the behaviour of an artifact implementation without changing its IR structure. Unfortunately this changes the IR header structure resulting in many rebuilds.
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'cmd/mbf')
| -rw-r--r-- | cmd/mbf/daemon_test.go | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/cmd/mbf/daemon_test.go b/cmd/mbf/daemon_test.go index 5d4bbdfc..f69ccc59 100644 --- a/cmd/mbf/daemon_test.go +++ b/cmd/mbf/daemon_test.go @@ -63,7 +63,7 @@ func TestNoReply(t *testing.T) { } <-done - wantIdent := pkg.MustDecode("fiZf-ZY_Yq6qxJNrHbMiIPYCsGkUiKCRsZrcSELXTqZWtCnESlHmzV5ThhWWGGYG") + wantIdent := pkg.MustDecode("fRn1L_pE6JbizdDOKS9GiZXEIp_yx4YYz_nSuv423hGnxAI2rUAwnR1OG1zjsP0N") if gotIdent := c.Ident(a).Value(); gotIdent != wantIdent { t.Errorf( "cureFromIR: %s, want %s", @@ -124,7 +124,7 @@ func TestDaemon(t *testing.T) { cancel() <-done - const want = "fiZf-ZY_Yq6qxJNrHbMiIPYCsGkUiKCRsZrcSELXTqZWtCnESlHmzV5ThhWWGGYG" + const want = "fRn1L_pE6JbizdDOKS9GiZXEIp_yx4YYz_nSuv423hGnxAI2rUAwnR1OG1zjsP0N" if got := filepath.Base(p.String()); got != want { t.Errorf("cureRemote: %s, want %s", got, want) } @@ -132,8 +132,8 @@ func TestDaemon(t *testing.T) { wantLog := []string{ "", "daemon: aborting all pending cures", - "daemon: attempting to cancel invalid artifact kQm9fmnCmXST1-MMmxzcau2oKZCXXrlZydo4PkeV5hO_2PKfeC8t98hrbV_ZZx_j", - "daemon: fulfilled artifact fiZf-ZY_Yq6qxJNrHbMiIPYCsGkUiKCRsZrcSELXTqZWtCnESlHmzV5ThhWWGGYG", + "daemon: attempting to cancel invalid artifact C0YO8fkKg38JGK95j8k1tHywA7nMk9xp2TUa69di7uFvnKioTdOOLaDRiwRcs1Nf", + "daemon: fulfilled artifact " + want, } gotLog := strings.Split(buf.String(), "\n") slices.Sort(gotLog) |
