http://bugs.winehq.org/show_bug.cgi?id=22226
Summary: [mono testcase] RegEnumValue succeeds when called with a deleted registry key Product: Wine Version: 1.1.41 Platform: x86 URL: http://anonsvn.mono-project.com/viewvc/branches/mono-2 -6/mcs/class/corlib/Test/Microsoft.Win32/RegistryKeyTe st.cs?revision=142637#l3003 OS/Version: Linux Status: NEW Keywords: dotnet, source, testcase Severity: normal Priority: P2 Component: ntdll AssignedTo: wine-bugs@winehq.org ReportedBy: madewokherd@gmail.com
The Mono test suite, when run on Wine, gives me the following failure:
Test Case Failures:
1) MonoTests.Microsoft.Win32.RegistryKeyTest.bugnew1 : #13
at MonoTests.Microsoft.Win32.RegistryKeyTest.bugnew1 () [0x00194] in /home/meh/work/mcs/class/corlib/Test/Microsoft.Win32/RegistryKeyTest.cs:3047
at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&)
at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x000d0] in /home/meh/work/mcs/class/corlib/System.Reflection/MonoMethod.cs:213
Mono is doing something like the following: * Create a new registry key. * Delete the new registry key, while it is open. * Call RegEnumValue on the open handle. * Expect failure.
Wine apparently succeeds in this case.