diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2019-03-13 14:36:07 +0100 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2019-03-17 18:06:44 +0100 |
| commit | 699923ce737c2cc5727cbd97833eca797510ad1b (patch) | |
| tree | 5e9f6c03af94efc7ea92b1398576e61fc443a20e /pkg/instance/instance.go | |
| parent | 2a2cd683581ad63ab2417cf39dc3a2bc8497d92d (diff) | |
pkg/instance: clean up temp file
Diffstat (limited to 'pkg/instance/instance.go')
| -rw-r--r-- | pkg/instance/instance.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pkg/instance/instance.go b/pkg/instance/instance.go index 278f7dd31..342668cd3 100644 --- a/pkg/instance/instance.go +++ b/pkg/instance/instance.go @@ -341,6 +341,7 @@ func (inst *inst) testRepro() error { if err != nil { return err } + defer os.Remove(bin) vmBin, err := inst.vm.Copy(bin) if err != nil { return &TestError{Title: fmt.Sprintf("failed to copy test binary to VM: %v", err)} |
