diff options
author | Chong Cai <chongc@google.com> | 2020-11-20 12:13:59 -0800 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-11-20 12:16:21 -0800 |
commit | 60ae6c4d83d432ff5b352a649757c7bd92073053 (patch) | |
tree | 26e0d5963c57c9148e979abd08a7c6d287671aee /pkg/sentry/platform/kvm | |
parent | ed8185fc754e7820c31a9df441dbb47a92d466df (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/platform/kvm')
0 files changed, 0 insertions, 0 deletions