diff options
author | Alexander Köplinger <alex.koeplinger@outlook.com> | 2018-01-06 03:40:11 +0300 |
---|---|---|
committer | Alexander Köplinger <alex.koeplinger@outlook.com> | 2018-01-06 03:40:49 +0300 |
commit | b5c5c55368a92e1b513cb465c3cdc391fc784d87 (patch) | |
tree | b441f8610b6873627e4f97daca3b2df4cda0195f /mcs/class/System | |
parent | e0f362764e0705433708b656ec9f555948f4af59 (diff) |
[System] Recursively delete directory in ApplicationSettingsBaseTest
Otherwise we'd get a "directory not empty" exception in the
TestFixtureTearDown (which for some reason isn't shown in the log?).
This was added in https://github.com/mono/mono/pull/6272
Diffstat (limited to 'mcs/class/System')
-rw-r--r-- | mcs/class/System/Test/System.Configuration/ApplicationSettingsBaseTest.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mcs/class/System/Test/System.Configuration/ApplicationSettingsBaseTest.cs b/mcs/class/System/Test/System.Configuration/ApplicationSettingsBaseTest.cs index 641a94b6cbf..e80672a91d3 100644 --- a/mcs/class/System/Test/System.Configuration/ApplicationSettingsBaseTest.cs +++ b/mcs/class/System/Test/System.Configuration/ApplicationSettingsBaseTest.cs @@ -186,7 +186,7 @@ namespace MonoTests.System.Configuration { { Environment.SetEnvironmentVariable ("XDG_DATA_HOME", null); Environment.SetEnvironmentVariable ("XDG_CONFIG_HOME", null); - Directory.Delete (tempDir); + Directory.Delete (tempDir, true); } [Test] |