diff options
author | Chong Cai <chongc@google.com> | 2020-10-26 16:49:54 -0700 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-10-26 16:51:58 -0700 |
commit | 528bc380222d1568fcbf95b449d0b19fd6dc0a00 (patch) | |
tree | 91dd14413b527efb710f3cfea863e3e27742e7d9 /pkg/sentry/fsimpl/verity/BUILD | |
parent | 652f11380e44b7c2083fa19d706f5cddf7fe0718 (diff) |
Add verity tests for deleted/renamed cases
Also change verity test to use a context with an active task. This is
required to delete/rename the file in the underlying file system.
PiperOrigin-RevId: 339146445
Diffstat (limited to 'pkg/sentry/fsimpl/verity/BUILD')
-rw-r--r-- | pkg/sentry/fsimpl/verity/BUILD | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/pkg/sentry/fsimpl/verity/BUILD b/pkg/sentry/fsimpl/verity/BUILD index ab117ee9d..e265be0ee 100644 --- a/pkg/sentry/fsimpl/verity/BUILD +++ b/pkg/sentry/fsimpl/verity/BUILD @@ -40,10 +40,12 @@ go_test( "//pkg/context", "//pkg/fspath", "//pkg/sentry/arch", + "//pkg/sentry/fsimpl/testutil", "//pkg/sentry/fsimpl/tmpfs", + "//pkg/sentry/kernel", "//pkg/sentry/kernel/auth", - "//pkg/sentry/kernel/contexttest", "//pkg/sentry/vfs", + "//pkg/syserror", "//pkg/usermem", ], ) |