diff options
Diffstat (limited to 'container/inittmpfs_test.go')
| -rw-r--r-- | container/inittmpfs_test.go | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/container/inittmpfs_test.go b/container/inittmpfs_test.go index 97a591f2..cbe76056 100644 --- a/container/inittmpfs_test.go +++ b/container/inittmpfs_test.go @@ -4,6 +4,8 @@ import ( "os" "syscall" "testing" + + "hakurei.app/container/stub" ) func TestMountTmpfsOp(t *testing.T) { @@ -25,8 +27,8 @@ func TestMountTmpfsOp(t *testing.T) { Path: MustAbs("/run/user/1000/"), Size: 1 << 10, Perm: 0700, - }, nil, nil, []kexpect{ - {"mountTmpfs", expectArgs{ + }, nil, nil, []stub.Call{ + {"mountTmpfs", stub.ExpectArgs{ "ephemeral", // fsname "/sysroot/run/user/1000", // target uintptr(0), // flags |
