diff options
| author | Eric Biggers <ebiggers@google.com> | 2021-12-22 20:45:23 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-12-22 20:45:23 -0600 |
| commit | 6ec8ee00398c435aba7cbb68f8246c1772e12908 (patch) | |
| tree | 24c4d0ced4f8b854745759a4b5eef25cf6938340 /actions/context_test.go | |
| parent | 0c2b4e68cb5a1ae11e4132261712fc985b94b965 (diff) | |
| parent | f00ddd5823bd0e744746a2b778e0c47f430ecabb (diff) | |
Merge pull request #336 from google/test-fix
context_text: remove pre-existing test.conf
Diffstat (limited to 'actions/context_test.go')
| -rw-r--r-- | actions/context_test.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/actions/context_test.go b/actions/context_test.go index 4488a6b..7b56d92 100644 --- a/actions/context_test.go +++ b/actions/context_test.go @@ -47,6 +47,7 @@ func setupContext() (ctx *Context, err error) { ConfigFileLocation = filepath.Join(mountpoint, "test.conf") // Should not be able to setup without a config file + os.Remove(ConfigFileLocation) if badCtx, badCtxErr := NewContextFromMountpoint(mountpoint, nil); badCtxErr == nil { badCtx.Mount.RemoveAllMetadata() return nil, fmt.Errorf("created context at %q without config file", badCtx.Mount.Path) |