From: Grigorii Demidov Date: Wed, 25 May 2016 11:32:21 +0000 (+0200) Subject: tests/test_cache: fix broken test X-Git-Tag: v1.0.0~9^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5bb7102c52098a239d44219b72ce8f1159823ff0;p=thirdparty%2Fknot-resolver.git tests/test_cache: fix broken test --- diff --git a/tests/test.h b/tests/test.h index b0e9c2ce4..78316f193 100644 --- a/tests/test.h +++ b/tests/test.h @@ -66,6 +66,7 @@ static inline int test_tmpdir_remove(const char *path) remove(buf); } remove(path); + closedir(dir); return 0; }