[Bug 22226] New: [mono testcase] RegEnumValue succeeds when called with a deleted registry key

wine-bugs at winehq.org wine-bugs at winehq.org
Wed Mar 31 16:15:39 CDT 2010


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 at winehq.org
        ReportedBy: madewokherd at 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.

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list