projects
/
oweals
/
minetest.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
87b25e5
)
TestBan: Clean up properly after completing test (#9994)
author
ANAND
<ClobberXD@protonmail.com>
Fri, 5 Jun 2020 18:04:14 +0000
(23:34 +0530)
committer
GitHub
<noreply@github.com>
Fri, 5 Jun 2020 18:04:14 +0000
(20:04 +0200)
src/unittest/test_ban.cpp
patch
|
blob
|
history
diff --git
a/src/unittest/test_ban.cpp
b/src/unittest/test_ban.cpp
index 2a95b945f83f589f3fde4eb91feafa20979ef613..bab2b9ee8fb4563e417de279274f2df665bd5caa 100644
(file)
--- a/
src/unittest/test_ban.cpp
+++ b/
src/unittest/test_ban.cpp
@@
-61,6
+61,9
@@
void TestBan::runTests(IGameDef *gamedef)
reinitTestEnv();
TEST(testGetBanDescription);
+
+ // Delete leftover files
+ reinitTestEnv();
}
// This module is stateful due to disk writes, add helper to remove files