From 08c0b7696a8b15759c8fc203cc90fde21c2c76a9 Mon Sep 17 00:00:00 2001 From: ANAND Date: Fri, 5 Jun 2020 23:34:14 +0530 Subject: TestBan: Clean up properly after completing test (#9994) --- src/unittest/test_ban.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src') diff --git a/src/unittest/test_ban.cpp b/src/unittest/test_ban.cpp index 2a95b945f..bab2b9ee8 100644 --- 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 -- cgit v1.2.3