Skip to content

Commit 1fe2043

Browse files
committed
Fix Unix tests
1 parent b0d5a73 commit 1fe2043

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libraries/System.IO.FileSystem/tests/File/GetSetAttributes_SafeFileHandle.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ public sealed class GetSetAttributes_SafeFileHandle : FileGetSetAttributes
88
protected override FileAttributes GetAttributes(string path)
99
{
1010
using var fileHandle =
11-
File.OpenHandle(path, FileMode.Open, FileAccess.ReadWrite, FileShare.ReadWrite);
11+
File.OpenHandle(path, FileMode.Open, FileAccess.Read, FileShare.ReadWrite);
1212
return File.GetAttributes(fileHandle);
1313
}
1414

0 commit comments

Comments
 (0)