Unix absolute path should not be valid on Windows
[mono.git] / mcs / class / System / Test / System / UriTest2.cs
index c6956a811bffb578a6605a48f385167595a7b929..51d527857a5ee735bfb9ca11ac7112e697eda46e 100644 (file)
@@ -70,6 +70,8 @@ namespace MonoTests.System
 #endif\r
                public void AbsoluteUriFromFileManual ()\r
                {\r
+                       if (Path.DirectorySeparatorChar == '\\')\r
+                               return;\r
                        FromResource ("test-uri-props-manual.txt", null);\r
                }\r
                \r