Author: spouliot
Date: 2005-05-09 11:24:29 -0400 (Mon, 09 May 2005)
New Revision: 44283

Modified:
   trunk/mcs/class/corlib/Test/System.IO/ChangeLog
   trunk/mcs/class/corlib/Test/System.IO/DirectoryInfoTest.cs
Log:
2005-05-09  Sebastien Pouliot  <[EMAIL PROTECTED]> 
 
        * DirectoryInfoTest.cs: Fixed PlatformID.Unix for NET_2_0.


Modified: trunk/mcs/class/corlib/Test/System.IO/ChangeLog
===================================================================
--- trunk/mcs/class/corlib/Test/System.IO/ChangeLog     2005-05-09 15:22:48 UTC 
(rev 44282)
+++ trunk/mcs/class/corlib/Test/System.IO/ChangeLog     2005-05-09 15:24:29 UTC 
(rev 44283)
@@ -1,8 +1,9 @@
-2005-05-09  Sebastien Pouliot  <[EMAIL PROTECTED]>
-
+2005-05-09  Sebastien Pouliot  <[EMAIL PROTECTED]> 
+ 
        * DirectoryCas.cs: Fixed IsRunningOnWindows (inversed logic). That
        didn't change the tests as the SecurityException occurs before the
        parameters are checked (when all goes well ;-). Fixed for NET_2_0 too.
+       * DirectoryInfoTest.cs: Fixed PlatformID.Unix for NET_2_0.
 
 2005-05-06  Ben Maurer  <[EMAIL PROTECTED]>
 

Modified: trunk/mcs/class/corlib/Test/System.IO/DirectoryInfoTest.cs
===================================================================
--- trunk/mcs/class/corlib/Test/System.IO/DirectoryInfoTest.cs  2005-05-09 
15:22:48 UTC (rev 44282)
+++ trunk/mcs/class/corlib/Test/System.IO/DirectoryInfoTest.cs  2005-05-09 
15:24:29 UTC (rev 44283)
@@ -565,7 +565,11 @@
                [Test]
                public void DirectoryNameWithSpace ()
                {
+#if NET_2_0
+                       if (Environment.OSVersion.Platform == PlatformID.Unix) {
+#else
                        if ((int) Environment.OSVersion.Platform == 128) {
+#endif
                                DeleteDir ("this has a space at the end ");
                                string path = Path.Combine (TempFolder, "this 
has a space at the end ");
                                Directory.CreateDirectory (path);

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to