diff --git a/src/modules/partition/tests/PartitionJobTests.cpp b/src/modules/partition/tests/PartitionJobTests.cpp index de10631a0..2800826f1 100644 --- a/src/modules/partition/tests/PartitionJobTests.cpp +++ b/src/modules/partition/tests/PartitionJobTests.cpp @@ -2,6 +2,7 @@ * * Copyright 2014, Aurélien Gâteau * Copyright 2017, Adriaan de Groot + * Copyright 2018, Philip Müller * * Calamares is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -69,6 +70,7 @@ public: private: QString m_devicePath; QTemporaryDir m_mountPointDir; + m_mountPointDir.setAutoRemove(false); // Avoid data cleanup - https://github.com/calamares/calamares/issues/1044 bool m_mounted; };