commit
c632042bb9
|
@ -98,6 +98,7 @@ func TestConfigFromFile(t *testing.T) {
|
|||
continue
|
||||
}
|
||||
if cerr != nil {
|
||||
os.Remove(tmpfile.Name())
|
||||
continue
|
||||
}
|
||||
|
||||
|
|
|
@ -135,6 +135,7 @@ func TestZeroToEnd(t *testing.T) {
|
|||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
defer os.Remove(f.Name())
|
||||
defer f.Close()
|
||||
|
||||
// Ensure 0 size is a nop so zero-to-end on an empty file won't give EINVAL.
|
||||
|
|
Loading…
Reference in New Issue