[WINESYNC] reg/tests: Comprehensively check for elevated privileges before starting Windows 3.1 import tests.

The existing check fails to adequately determine the program's elevation
status on systems where the test key already exists. This can cause all
Windows 3.1 import tests to fail on systems with a standard user account.

Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>

wine commit id 17023a8100a62852bbad342e5e7c705cafae9a1f by Hugh McMaster <hugh.mcmaster@outlook.com>
This commit is contained in:
winesync 2022-01-16 20:10:04 +01:00 committed by Thomas Csovcsity
parent 2161165dca
commit 0b6ea9f2d7
2 changed files with 16 additions and 7 deletions

View file

@ -4,4 +4,4 @@ directories:
files:
programs/reg/resource.h: base/applications/cmdutils/reg/resource.h
tags:
wine: b369af9ac5861f0ec49933ef657a53feeafefc21
wine: 17023a8100a62852bbad342e5e7c705cafae9a1f