aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorleilaes2019-04-10 19:43:34 +1200
committerrfjakob2019-04-10 13:33:58 +0200
commitcc0a603ef8a691b01fbd0f6a99e7d4e1d36608f7 (patch)
tree03857ff4c4dbddf417d84b375749fe42fb749a0f /tests
parent7d81494a649f3f871bfeb4bb129cbfa738fbef67 (diff)
Add CodeLingo Tenet to fix missing close file
Diffstat (limited to 'tests')
-rw-r--r--tests/fsck/fsck_test.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/fsck/fsck_test.go b/tests/fsck/fsck_test.go
index 5ece6cd..f56e21c 100644
--- a/tests/fsck/fsck_test.go
+++ b/tests/fsck/fsck_test.go
@@ -85,6 +85,7 @@ func TestExampleFses(t *testing.T) {
t.Errorf("fsck returned code %d but fs should be clean", code)
}
}
+ dirfd.Close()
}
// TestTerabyteFile verifies that fsck does something intelligent when it hits