shell32/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@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Francois Gouget 2020-02-21 08:08:49 +01:00 committed by Alexandre Julliard
parent d4e91228e5
commit 8c5795611c
1 changed files with 2 additions and 2 deletions

View File

@ -1779,7 +1779,7 @@ static void test_NonExistentPath(void)
STARTUPINFOA startup;
PROCESS_INFORMATION info;
sprintf(buffer, "%s tests/shellpath.c 1", selfname);
sprintf(buffer, "%s shellpath 1", selfname);
memset(&startup, 0, sizeof(startup));
startup.cb = sizeof(startup);
startup.dwFlags = STARTF_USESHOWWINDOW;
@ -1794,7 +1794,7 @@ static void test_NonExistentPath(void)
strlen(originalPath) + 1);
RegFlushKey(key);
sprintf(buffer, "%s tests/shellpath.c 2", selfname);
sprintf(buffer, "%s shellpath 2", selfname);
memset(&startup, 0, sizeof(startup));
startup.cb = sizeof(startup);
startup.dwFlags = STARTF_USESHOWWINDOW;