summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tests/auto/network/access/qnetworkdiskcache/tst_qnetworkdiskcache.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/auto/network/access/qnetworkdiskcache/tst_qnetworkdiskcache.cpp b/tests/auto/network/access/qnetworkdiskcache/tst_qnetworkdiskcache.cpp
index 89102892fd..ac7f368002 100644
--- a/tests/auto/network/access/qnetworkdiskcache/tst_qnetworkdiskcache.cpp
+++ b/tests/auto/network/access/qnetworkdiskcache/tst_qnetworkdiskcache.cpp
@@ -186,6 +186,9 @@ void tst_QNetworkDiskCache::initTestCase()
// It is only called once.
void tst_QNetworkDiskCache::cleanupTestCase()
{
+ QDir workingDir("foo");
+ if (workingDir.exists())
+ workingDir.removeRecursively();
}
// This will be called before each test function is executed.