aboutsummaryrefslogtreecommitdiffhomepage
path: root/container/initremount_test.go
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2025-09-02 04:44:08 +0900
committerOphestra <cat@gensokyo.uk>2025-09-02 04:44:08 +0900
commit1b5d20a39b2c5720d83a8eaf3d2227deb46a7c0d (patch)
tree230a5de997b6a7216f697a06f8f18bd552d96e77 /container/initremount_test.go
parent49600a6f46d99ff35d883381670548de1f01846e (diff)
container/dispatcher: stub.Call initialisation helper function
This keeps composites analysis happy without making the test cases (too) bloated. Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'container/initremount_test.go')
-rw-r--r--container/initremount_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/container/initremount_test.go b/container/initremount_test.go
index 4fb60e18..32a0e8c6 100644
--- a/container/initremount_test.go
+++ b/container/initremount_test.go
@@ -13,7 +13,7 @@ func TestRemountOp(t *testing.T) {
Target: MustAbs("/"),
Flags: syscall.MS_RDONLY,
}, nil, nil, []stub.Call{
- {"remount", stub.ExpectArgs{"/sysroot", uintptr(1)}, nil, nil},
+ call("remount", stub.ExpectArgs{"/sysroot", uintptr(1)}, nil, nil),
}, nil},
})