[System.Configuration] Disable broken test
authorMiguel de Icaza <miguel@gnome.org>
Wed, 30 May 2012 21:46:18 +0000 (17:46 -0400)
committerMiguel de Icaza <miguel@gnome.org>
Wed, 30 May 2012 21:55:56 +0000 (17:55 -0400)
mcs/class/System.Configuration/Test/System.Configuration/ConfigurationManagerTest.cs

index 1a13ae67926843af2a5957fe5c17750eb4db535c..d6e06cd3e8996f07e821ad7d0cb652be47d3daee 100644 (file)
@@ -203,8 +203,15 @@ namespace MonoTests.System.Configuration {
                        exePath = "relative.exe";
                        File.Create (Path.Combine (tempFolder, exePath)).Close ();
 
-                       config = ConfigurationManager.OpenExeConfiguration (exePath);
-                       Assert.AreEqual (Path.Combine (tempFolder, exePath + ".config"), config.FilePath, "#4");
+                       //
+                       // The temp directory as computed by the runtime is slightly different, as
+                       // it will contain the full path after following links, while the test
+                       // below is not comprehensive enough to follow links if there are any
+                       // present in tempFolder
+                       //
+                       
+                       //config = ConfigurationManager.OpenExeConfiguration (exePath);
+                       //Assert.AreEqual (Path.Combine (tempFolder, exePath + ".config"), config.FilePath, "#4");
                }
 
                [Test] // OpenExeConfiguration (String)