summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAurimas Fišeras <aurimas@members.fsf.org>2019-05-09 18:40:44 +0300
committerMichael Stahl <Michael.Stahl@cib.de>2019-05-10 10:59:04 +0200
commitc3f82afd56a8d34420a489065a786cf67b6f290d (patch)
tree02e890f0cc8fe87ae66a826c20fadf8484f1073f
parent6546d8ad9645c3d0a2dbc726563f519dafc739f4 (diff)
Remove temporary config.ini after the test
Change-Id: I7bc0c6554b4d5e870a49740b2b7243d9a9246ca8 Signed-off-by: Aurimas Fišeras <aurimas@members.fsf.org> Reviewed-on: https://gerrit.libreoffice.org/72063 Tested-by: Jenkins Reviewed-by: Michael Stahl <Michael.Stahl@cib.de>
-rw-r--r--tools/qa/cppunit/test_config.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/qa/cppunit/test_config.cxx b/tools/qa/cppunit/test_config.cxx
index 8002ff99dff7..a9f0558529b1 100644
--- a/tools/qa/cppunit/test_config.cxx
+++ b/tools/qa/cppunit/test_config.cxx
@@ -35,6 +35,8 @@ public:
osl::File::copy(maOriginalConfigFile, maConfigFile);
}
+ virtual void tearDown() override { osl::File::remove(maConfigFile); }
+
void testHasGroup()
{
Config aConfig(maConfigFile);