aboutsummaryrefslogtreecommitdiffhomepage
path: root/sandbox/container_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'sandbox/container_test.go')
-rw-r--r--sandbox/container_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/sandbox/container_test.go b/sandbox/container_test.go
index f3d08543..0ba75da5 100644
--- a/sandbox/container_test.go
+++ b/sandbox/container_test.go
@@ -164,7 +164,7 @@ func e(root, target, vfsOptstr, fsType, source, fsOptstr string) *vfs.MountInfoE
func TestContainerString(t *testing.T) {
container := sandbox.New(context.TODO(), "ldd", "/usr/bin/env")
container.Flags |= sandbox.FAllowDevel
- container.Seccomp |= seccomp.FlagMultiarch
+ container.Seccomp |= seccomp.FilterMultiarch
want := `argv: ["ldd" "/usr/bin/env"], flags: 0x2, seccomp: 0x2e`
if got := container.String(); got != want {
t.Errorf("String: %s, want %s", got, want)