diff options
| author | Ophestra <cat@gensokyo.uk> | 2026-05-07 18:04:59 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2026-05-07 19:43:06 +0900 |
| commit | 8d72b9e5bd8d99cbd32ce0ebe2f5da8e9b1d88ce (patch) | |
| tree | 403a00ccd0d1ed98795a4e739b72f2de12b34102 /internal/pkg/ir_test.go | |
| parent | 8a3c3d145a560b91da1d9bce9070c20289b63502 (diff) | |
internal/pkg: optionally register binfmt
This transparently supports curing foreign exec artifacts.
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal/pkg/ir_test.go')
| -rw-r--r-- | internal/pkg/ir_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/pkg/ir_test.go b/internal/pkg/ir_test.go index 5c6c3a2e..15c8b634 100644 --- a/internal/pkg/ir_test.go +++ b/internal/pkg/ir_test.go @@ -39,7 +39,7 @@ func TestIRRoundtrip(t *testing.T) { )}, {"exec offline", pkg.NewExec( - "exec-offline", nil, 0, false, + "exec-offline", "", nil, 0, false, pkg.AbsWork, []string{"HAKUREI_TEST=1"}, check.MustAbs("/opt/bin/testtool"), @@ -59,7 +59,7 @@ func TestIRRoundtrip(t *testing.T) { )}, {"exec net", pkg.NewExec( - "exec-net", + "exec-net", "", (*pkg.Checksum)(bytes.Repeat([]byte{0xfc}, len(pkg.Checksum{}))), 0, false, pkg.AbsWork, |
