diff options
author | Brett Landau <brettlandau@google.com> | 2019-08-09 15:34:44 -0700 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2019-08-09 15:35:58 -0700 |
commit | f2762e8c60b0a83f976c9eedd4a8c08e32cb6856 (patch) | |
tree | 1da65dc39e6725e87653638b170bf4547c569f3b /pkg/sentry | |
parent | 5a38eb120abe0aecd4b64cf9e3a9e1ff1dc0edd7 (diff) |
Create tests for common.Search().
Using the path_test.go file built by the Golang
devs as a base, tests have been created to verify
the functionality of common.Search().
A mock file system is created and fake test files
are generated to see if they get picked up by
common.Search().
Also included in this CL is a bug fix for
proctor-nodejs that was discovered using this test.
proctor-nodejs used to allow multiple "-" in its
test name filter. The regex has been updated to
prevent this.
PiperOrigin-RevId: 262647263
Diffstat (limited to 'pkg/sentry')
0 files changed, 0 insertions, 0 deletions