One unit test opened HKEY_LOCAL_MACHINE for testing, but it seems Mono on Linux doesn't grant even read access to this (emulated) key, so the unit test now uses HKEY_CURRENT_USER

git-svn-id: file:///srv/devel/repo-conversion/nusu@321 d2e56fa2-650e-0410-a79f-9358c0239efd
This commit is contained in:
Markus Ewald 2014-07-22 20:26:43 +00:00
parent 40492c8b21
commit dfc9be412a

View File

@ -93,7 +93,7 @@ namespace Nuclex.Support.Settings {
() => {
using(
var store = new WindowsRegistryStore(
RegistryHive.LocalMachine, "SOFTWARE", writable: false
RegistryHive.CurrentUser, "", writable: false
)
) { }
},