summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/fsimpl/verity/verity.go
diff options
context:
space:
mode:
authorChong Cai <chongc@google.com>2020-11-20 12:13:59 -0800
committergVisor bot <gvisor-bot@google.com>2020-11-20 12:16:21 -0800
commit60ae6c4d83d432ff5b352a649757c7bd92073053 (patch)
tree26e0d5963c57c9148e979abd08a7c6d287671aee /pkg/sentry/fsimpl/verity/verity.go
parented8185fc754e7820c31a9df441dbb47a92d466df (diff)
Refactor verity test for readability
1. Add getD/getDentry methods to avoid long casting line in each test 2. Factor all calls to vfs.OpenAt/UnlinkAt/RenameAt on lower filesystem to their own method (for both lower file and lower Merkle file) so the tests are more readable 3. Add descriptive test names for delete/remove tests PiperOrigin-RevId: 343540202
Diffstat (limited to 'pkg/sentry/fsimpl/verity/verity.go')
0 files changed, 0 insertions, 0 deletions