aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/pkg/tar_test.go
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2026-07-08 14:19:17 +0900
committerOphestra <cat@gensokyo.uk>2026-07-08 14:19:17 +0900
commit3c6e9b3d0526a9338dc897a8e288647b2ec12b10 (patch)
tree11116bbe25971f9e29de627857b599974132f8a3 /internal/pkg/tar_test.go
parentaa5e77ef277d5cb144e4841f3c1ab41282faac01 (diff)
internal/pkg: expose cure whence
Useful for cure determinism validation of KindExec. Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal/pkg/tar_test.go')
-rw-r--r--internal/pkg/tar_test.go10
1 files changed, 5 insertions, 5 deletions
diff --git a/internal/pkg/tar_test.go b/internal/pkg/tar_test.go
index 29ddcdad..f24034f9 100644
--- a/internal/pkg/tar_test.go
+++ b/internal/pkg/tar_test.go
@@ -212,24 +212,24 @@ func checkTarHTTP(
&client,
"file:///testdata",
testdataChecksum,
- ), pkg.Gzip)), ignorePathname, want, nil},
+ ), pkg.Gzip)), ignorePathname, want, pkg.WNew, nil},
{"directory", pkg.NewTar(pkg.NewDecompress(
&tarDir,
pkg.Gzip,
- )), ignorePathname, want, nil},
+ )), ignorePathname, want, pkg.WNew, nil},
{"multiple entries", pkg.NewTar(pkg.NewDecompress(
&tarDirMulti,
pkg.Gzip,
- )), nil, nil, errors.New(
+ )), nil, nil, pkg.WNew, errors.New(
"input directory does not contain a single regular file",
)},
{"bad type", pkg.NewTar(pkg.NewDecompress(
&tarDirType,
pkg.Gzip,
- )), nil, nil, errors.New(
+ )), nil, nil, pkg.WNew, errors.New(
"input directory does not contain a single regular file",
)},
@@ -239,6 +239,6 @@ func checkTarHTTP(
cure: func(t *pkg.TContext) error {
return stub.UniqueError(0xcafe)
},
- }), nil, nil, stub.UniqueError(0xcafe)},
+ }), nil, nil, pkg.WNew, stub.UniqueError(0xcafe)},
})
}