aboutsummaryrefslogtreecommitdiffhomepage
path: root/container/dispatcher_test.go
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2026-05-04 02:07:52 +0900
committerOphestra <cat@gensokyo.uk>2026-05-04 02:29:56 +0900
commitda11b26ec16ef9ed61045fdbb03c4090286bfeba (patch)
treeef6120c9c274276eb90976dc49a1a0808a3914b9 /container/dispatcher_test.go
parent024489e800a3324e2305546598b606357606e274 (diff)
container/initoverlay: configure via fsconfig
This works around the page size limit at the cost of negligible performance regressions. Closes #34. Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'container/dispatcher_test.go')
-rw-r--r--container/dispatcher_test.go8
1 files changed, 8 insertions, 0 deletions
diff --git a/container/dispatcher_test.go b/container/dispatcher_test.go
index c8a7b492..49631854 100644
--- a/container/dispatcher_test.go
+++ b/container/dispatcher_test.go
@@ -468,6 +468,14 @@ func (k *kstub) mountTmpfs(fsname, target string, flags uintptr, size int, perm
stub.CheckArg(k.Stub, "perm", perm, 4))
}
+func (k *kstub) mountOverlay(target string, options [][2]string) error {
+ k.Helper()
+ return k.Expects("mountOverlay").Error(
+ stub.CheckArg(k.Stub, "target", target, 0),
+ stub.CheckArgReflect(k.Stub, "options", options, 1),
+ )
+}
+
func (k *kstub) ensureFile(name string, perm, pperm os.FileMode) error {
k.Helper()
return k.Expects("ensureFile").Error(