diff options
| author | Ophestra <cat@gensokyo.uk> | 2025-09-02 04:44:08 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2025-09-02 04:44:08 +0900 |
| commit | 1b5d20a39b2c5720d83a8eaf3d2227deb46a7c0d (patch) | |
| tree | 230a5de997b6a7216f697a06f8f18bd552d96e77 /container/inittmpfs_test.go | |
| parent | 49600a6f46d99ff35d883381670548de1f01846e (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/inittmpfs_test.go')
| -rw-r--r-- | container/inittmpfs_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/container/inittmpfs_test.go b/container/inittmpfs_test.go index cbe76056..9278ee78 100644 --- a/container/inittmpfs_test.go +++ b/container/inittmpfs_test.go @@ -28,13 +28,13 @@ func TestMountTmpfsOp(t *testing.T) { Size: 1 << 10, Perm: 0700, }, nil, nil, []stub.Call{ - {"mountTmpfs", stub.ExpectArgs{ + call("mountTmpfs", stub.ExpectArgs{ "ephemeral", // fsname "/sysroot/run/user/1000", // target uintptr(0), // flags 0x400, // size os.FileMode(0700), // perm - }, nil, nil}, + }, nil, nil), }, nil}, }) |
