aboutsummaryrefslogtreecommitdiffhomepage
path: root/container/initremount_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'container/initremount_test.go')
-rw-r--r--container/initremount_test.go6
1 files changed, 4 insertions, 2 deletions
diff --git a/container/initremount_test.go b/container/initremount_test.go
index 22c978fc..4fb60e18 100644
--- a/container/initremount_test.go
+++ b/container/initremount_test.go
@@ -3,6 +3,8 @@ package container
import (
"syscall"
"testing"
+
+ "hakurei.app/container/stub"
)
func TestRemountOp(t *testing.T) {
@@ -10,8 +12,8 @@ func TestRemountOp(t *testing.T) {
{"success", new(Params), &RemountOp{
Target: MustAbs("/"),
Flags: syscall.MS_RDONLY,
- }, nil, nil, []kexpect{
- {"remount", expectArgs{"/sysroot", uintptr(1)}, nil, nil},
+ }, nil, nil, []stub.Call{
+ {"remount", stub.ExpectArgs{"/sysroot", uintptr(1)}, nil, nil},
}, nil},
})