aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/uevent/coldboot_test.go
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2026-06-04 14:13:20 +0900
committerOphestra <cat@gensokyo.uk>2026-06-04 14:13:20 +0900
commit729be19af39fb73e827bdb2798ac23942f9cf9e5 (patch)
tree142f876c8533e312fbfddf0348195aeb3530e7d6 /internal/uevent/coldboot_test.go
parent4d04f86f4a85007544932a28bd4c779f8bfb561b (diff)
internal/pkg: rename archive checksum helpers
These names are more consistent with other helper names, so rename them while the API is still internal. Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal/uevent/coldboot_test.go')
-rw-r--r--internal/uevent/coldboot_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/uevent/coldboot_test.go b/internal/uevent/coldboot_test.go
index 4b38453a..0a50ead4 100644
--- a/internal/uevent/coldboot_test.go
+++ b/internal/uevent/coldboot_test.go
@@ -81,8 +81,8 @@ func TestColdboot(t *testing.T) {
}
var checksum pkg.Checksum
- if err = pkg.HashDir(&checksum, check.MustAbs(d)); err != nil {
- t.Fatalf("HashDir: error = %v", err)
+ if err = pkg.SumDir(&checksum, check.MustAbs(d)); err != nil {
+ t.Fatalf("SumDir: error = %v", err)
}
wantChecksum := pkg.MustDecode("mEy_Lf5KotThm7OwMx7yTKZh5HCCyaB41pVAvI9uDMgVQFM91iosBLYsRm8bDsX8")