diff options
Diffstat (limited to 'actions')
| -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) |