Francois Gouget : advapi32/tests: Simplify the name of the test unit for child processes.

Alexandre Julliard julliard at winehq.org
Thu Feb 20 18:26:14 CST 2020


Module: wine
Branch: master
Commit: efb5050894b8d49c3c4e8fa861ab9767f991cebe
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=efb5050894b8d49c3c4e8fa861ab9767f991cebe

Author: Francois Gouget <fgouget at codeweavers.com>
Date:   Thu Feb 20 19:20:23 2020 +0100

advapi32/tests: Simplify the name of the test unit for child processes.

The official name (shown by --list) has no path nor extension.

Signed-off-by: Francois Gouget <fgouget at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 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 afcdb6328e..d003a7f1a0 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);




More information about the wine-cvs mailing list