[PATCH] regedit/tests: Skip tests if running as non-elevated admin.

Alexandre Julliard julliard at winehq.org
Fri Dec 22 09:34:45 CST 2017


Zebediah Figura <z.figura12 at gmail.com> writes:

> @@ -3635,6 +3635,12 @@ START_TEST(regedit)
>          return;
>      }
>  
> +    if (!run_regedit_exe("regedit.exe") && GetLastError() == ERROR_ELEVATION_REQUIRED)
> +    {
> +        win_skip("User is a non-elevated admin; skipping regedit tests.\n");
> +        return;
> +    }

This pops up the regedit GUI and does nothing for 10 seconds, I don't
think we want that.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list