From 96259e2b306ee6f3d1f3a7e7987c56c754bd02e7 Mon Sep 17 00:00:00 2001 From: Alexis Christoforides Date: Mon, 7 Jan 2019 07:35:43 -0500 Subject: [PATCH] [tests] Remove an invalid assertion on System.IO.DriveInfo All fixed drives are not guaranteed to be ready --- mcs/class/corlib/Test/System.IO/DriveInfoTest.cs | 1 - 1 file changed, 1 deletion(-) diff --git a/mcs/class/corlib/Test/System.IO/DriveInfoTest.cs b/mcs/class/corlib/Test/System.IO/DriveInfoTest.cs index 2556129cf2f..7776faaa6a1 100644 --- a/mcs/class/corlib/Test/System.IO/DriveInfoTest.cs +++ b/mcs/class/corlib/Test/System.IO/DriveInfoTest.cs @@ -87,7 +87,6 @@ namespace MonoTests.System.IO } if (d.DriveType == DriveType.Fixed) { // just consider fixed drives for now - Assert.True (d.IsReady); AssertHelper.GreaterOrEqual (d.AvailableFreeSpace, 0); AssertHelper.GreaterOrEqual (d.TotalFreeSpace, 0); AssertHelper.GreaterOrEqual (d.TotalSize, 0); -- 2.11.4.GIT