The official name (shown by --list) has no path nor extension.
Signed-off-by: Francois Gouget fgouget@codeweavers.com --- dlls/advapi32/tests/security.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/advapi32/tests/security.c b/dlls/advapi32/tests/security.c index afcdb6328e0..d003a7f1a0d 100644 --- a/dlls/advapi32/tests/security.c +++ b/dlls/advapi32/tests/security.c @@ -3010,7 +3010,7 @@ static void test_process_security(void) CHECK_SET_SECURITY( event, DACL_SECURITY_INFORMATION, ERROR_SUCCESS ); test_group_equal( event, UsersSid, __LINE__ );
- sprintf(buffer, "%s tests/security.c test", myARGV[0]); + sprintf(buffer, "%s security test", myARGV[0]); memset(&startup, 0, sizeof(startup)); startup.cb = sizeof(startup); startup.dwFlags = STARTF_USESHOWWINDOW; @@ -7186,7 +7186,7 @@ static void test_token_security_descriptor(void) startup.dwFlags = STARTF_USESHOWWINDOW; startup.wShowWindow = SW_SHOWNORMAL;
- sprintf(buffer, "%s tests/security.c test_token_sd", myARGV[0]); + sprintf(buffer, "%s security test_token_sd", myARGV[0]); ret = CreateProcessA(NULL, buffer, NULL, NULL, FALSE, 0, NULL, NULL, &startup, &info); ok(ret, "CreateProcess failed with error %u\n", GetLastError()); winetest_wait_child_process(info.hProcess);
Hi,
While running your changed tests, I think I found new failures. Being a bot and all I'm not very good at pattern recognition, so I might be wrong, but could you please double-check?
Full results can be found at: https://testbot.winehq.org/JobDetails.pl?Key=65557
Your paranoid android.
=== wxppro (32 bit report) ===
advapi32: security.c:3048: Test failed: CreateProcess with err:2 security.c:3050: Test failed: NtQueryObject with err: c0000008 security.c:3050: Test failed: Granted access should be 0x001f0fff or 0x001fffff, instead of 0x77c35c94 security.c:3052: Test failed: NtQueryObject with err: c0000008 security.c:3052: Test failed: Granted access should be 0x001f03ff or 0x001fffff, instead of 0x77c35c94 security.c:7191: Test failed: CreateProcess failed with error 2
On Thu, 20 Feb 2020, Marvin wrote: [...]
=== wxppro (32 bit report) ===
advapi32: security.c:3048: Test failed: CreateProcess with err:2 security.c:3050: Test failed: NtQueryObject with err: c0000008 security.c:3050: Test failed: Granted access should be 0x001f0fff or 0x001fffff, instead of 0x77c35c94 security.c:3052: Test failed: NtQueryObject with err: c0000008 security.c:3052: Test failed: Granted access should be 0x001f03ff or 0x001fffff, instead of 0x77c35c94 security.c:7191: Test failed: CreateProcess failed with error 2
advapi32:security uses sprintf() to build the command line so the reason it fails on XP is because of the sprintf() bug which also causes kernel32:process to get into an infinite loop.