Commit Graph

12 Commits

Author SHA1 Message Date
Eric Pouech e913d34eb2 faultrep/tests: Enable compilation with long types.
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-02-24 20:22:21 +01:00
Alexandre Julliard f0cd33c69e include: Add support for defining Win32 types as 'long' where possible.
Add -DWINE_NO_LONG_TYPES to modules that still have compilation
warnings with long types.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-01-27 20:38:22 +01:00
Alex Henrie 3084624fbe faultrep/tests: Remove registry writability check.
This check isn't needed anymore either.

Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-01-03 12:43:11 +01:00
Alex Henrie 425098974a faultrep/tests: Check for registry virtualization.
If registry virtualization is enabled, AddERExcludedApplicationA
succeeds on Windows 8 even if the user does not really have permission
to write to HKLM\Software. The behind-the-scenes writes to HLKM\Software
are treated like any other writes: They are silently redirected to
HKCU\Software\Classes\VirtualStore\Machine\Software. Since
AddERExcludedApplicationA still fails even with registry virtualization
enabled on Vista, 7, and 10, Windows 8's behavior is clearly broken.

Fixes a testbot failure on 32-bit Windows 8 with a non-elevated
administrator account.

Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-01-02 21:26:17 +01:00
Alex Henrie e69d218d57 faultrep/tests: Drop workarounds for Windows <= 2000.
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-01-02 21:26:17 +01:00
Gijs Vermeulen d2e176f3a9 faultrep/tests: Fix some memory leaks (Valgrind).
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=36404
Signed-off-by: Gijs Vermeulen <gijsvrm@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-11-01 21:06:31 +01:00
Francois Gouget c4ae0298d0 faultrep/tests: Update is_process_limited() to deal with non-administrator, non-power user accounts. 2014-03-05 11:50:40 +01:00
Francois Gouget a7897d3d3e faultrep/tests: AddERExcludedApplication() fails if we have insufficient privileges. 2014-02-18 19:07:27 +01:00
Alexandre Julliard 99ef0d6ff0 makefiles: Get rid of the MAKE_TEST_RULES variable. 2014-01-02 12:13:16 +01:00
Frédéric Delanoy 9f2ebd7736 faultrep/tests: Constify some character strings. 2013-12-23 11:54:31 +01:00
Detlef Riekenberg c1f9129d7b faultrep/tests: Fix a test failure when the user has limited access rights. 2013-08-02 14:08:35 +02:00
Detlef Riekenberg 53fca11fb3 faultrep/tests: Add tests for AddERExcludedApplicationA. 2010-10-26 13:02:29 +02:00