This is part XXVII of cmd engine rewrite.
It covers: - fixing a regression introduced when looping up for program names with several dots in their names (eg. foo.bat can invoke foo.bat.cmd) - fix an incorrect handling of 'SET =' command - a couple of cleanups in SET command
From: Eric Pouech epouech@codeweavers.com
Signed-off-by: Eric Pouech epouech@codeweavers.com --- programs/cmd/tests/test_builtins.cmd | 7 +++++++ programs/cmd/tests/test_builtins.cmd.exp | 4 ++++ 2 files changed, 11 insertions(+)
diff --git a/programs/cmd/tests/test_builtins.cmd b/programs/cmd/tests/test_builtins.cmd index 9a673a40467..cdf838d08ff 100644 --- a/programs/cmd/tests/test_builtins.cmd +++ b/programs/cmd/tests/test_builtins.cmd @@ -3165,6 +3165,13 @@ exit /b 0
:call_expand_done
+echo --- search with dots +echo @echo a> .bat +call .bat +echo @echo b> f00.bat.bat +call f00.bat || echo fail1 +call f00 2> nul || echo fail2 + cd .. & rd /s/q foobar
echo --- builtin in expansions diff --git a/programs/cmd/tests/test_builtins.cmd.exp b/programs/cmd/tests/test_builtins.cmd.exp index 67a308a4e8a..bb87e28acaf 100644 --- a/programs/cmd/tests/test_builtins.cmd.exp +++ b/programs/cmd/tests/test_builtins.cmd.exp @@ -1823,6 +1823,10 @@ abc abc abc %WINE_BAR% %WINE_BAR% abc def def +--- search with dots +a +@todo_wine@b +fail2 --- builtin in expansions bar p1 echo bar cp1 echo
From: Eric Pouech epouech@codeweavers.com
https://bugs.winehq.org/show_bug.cgi?id=57245
Signed-off-by: Eric Pouech epouech@codeweavers.com --- programs/cmd/tests/test_builtins.cmd.exp | 2 +- programs/cmd/wcmdmain.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/programs/cmd/tests/test_builtins.cmd.exp b/programs/cmd/tests/test_builtins.cmd.exp index bb87e28acaf..cf500a516de 100644 --- a/programs/cmd/tests/test_builtins.cmd.exp +++ b/programs/cmd/tests/test_builtins.cmd.exp @@ -1825,7 +1825,7 @@ abc %WINE_BAR% %WINE_BAR% abc def def --- search with dots a -@todo_wine@b +b fail2 --- builtin in expansions bar p1 echo diff --git a/programs/cmd/wcmdmain.c b/programs/cmd/wcmdmain.c index 0d3b201c095..46131cad608 100644 --- a/programs/cmd/wcmdmain.c +++ b/programs/cmd/wcmdmain.c @@ -1620,8 +1620,8 @@ static RETURN_CODE search_command(WCHAR *command, struct search_command *sc, BOO DWORD attribs = GetFileAttributesW(sc->path); found = attribs != INVALID_FILE_ATTRIBUTES && !(attribs & FILE_ATTRIBUTE_DIRECTORY); } - else - found = search_in_pathext(sc->path); + /* if foo.bat was given but not found, try to match foo.bat.bat (or any valid ext) */ + if (!found) found = search_in_pathext(sc->path); if (found) return NO_ERROR; } return RETURN_CODE_CANT_LAUNCH;
From: Eric Pouech epouech@codeweavers.com
Esp, 'SET =' shouldn't print whole environment.
Signed-off-by: Eric Pouech epouech@codeweavers.com --- programs/cmd/tests/test_builtins.cmd | 1 + programs/cmd/tests/test_builtins.cmd.exp | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/programs/cmd/tests/test_builtins.cmd b/programs/cmd/tests/test_builtins.cmd index cdf838d08ff..85911c0757f 100644 --- a/programs/cmd/tests/test_builtins.cmd +++ b/programs/cmd/tests/test_builtins.cmd @@ -864,6 +864,7 @@ echo bar| cmd /v:on /c "set /p WINE_FOO=prompt & echo X!WINE_FOO!X" echo:| cmd /v:on /c "set /p WINE_FOO=prompt & echo Y!WINE_FOO!Y" echo:| cmd /v:on /c "set /p WINE_FOO='prompt' & echo Y!WINE_FOO!Y" echo:| cmd /v:on /c "set /p WINE_FOO="prompt" & echo Y!WINE_FOO!Y" +set =
echo ------------ Testing 'choice' ------------
diff --git a/programs/cmd/tests/test_builtins.cmd.exp b/programs/cmd/tests/test_builtins.cmd.exp index cf500a516de..8b74a7ab27d 100644 --- a/programs/cmd/tests/test_builtins.cmd.exp +++ b/programs/cmd/tests/test_builtins.cmd.exp @@ -712,7 +712,7 @@ prompt XbarX prompt YfooY 'prompt' YfooY promptYfooY ------------- Testing 'choice' ------------ +@todo_wine@------------ Testing 'choice' ------------ Example message [A,B,C]?A@or_broken@choice unavailable 1@or_broken@9009 Example message [A,B,C]?B@or_broken@choice unavailable
From: Eric Pouech epouech@codeweavers.com
Signed-off-by: Eric Pouech epouech@codeweavers.com --- programs/cmd/builtins.c | 54 ++++++++++++++--------------------------- 1 file changed, 18 insertions(+), 36 deletions(-)
diff --git a/programs/cmd/builtins.c b/programs/cmd/builtins.c index f656e496910..30bd320bd34 100644 --- a/programs/cmd/builtins.c +++ b/programs/cmd/builtins.c @@ -1759,14 +1759,8 @@ RETURN_CODE WCMD_pushd(const WCHAR *args) return errorlevel = ERROR_INVALID_FUNCTION; }
- curdir = LocalAlloc (LMEM_FIXED, sizeof (struct env_stack)); - thisdir = LocalAlloc (LMEM_FIXED, 1024 * sizeof(WCHAR)); - if( !curdir || !thisdir ) { - LocalFree(curdir); - LocalFree(thisdir); - WINE_ERR ("out of memory\n"); - return errorlevel = ERROR_INVALID_FUNCTION; - } + curdir = xalloc(sizeof(struct env_stack)); + thisdir = xalloc(1024 * sizeof(WCHAR));
/* Change directory using CD code with /D parameter */ lstrcpyW(quals, L"/D"); @@ -1775,8 +1769,8 @@ RETURN_CODE WCMD_pushd(const WCHAR *args) return_code = WCMD_setshow_default(args); if (return_code != NO_ERROR) { - LocalFree(curdir); - LocalFree(thisdir); + free(curdir); + free(thisdir); return errorlevel = ERROR_INVALID_FUNCTION; } else { curdir -> next = pushd_directories; @@ -1808,8 +1802,8 @@ RETURN_CODE WCMD_popd(void) /* pop the old environment from the stack, and make it the current dir */ pushd_directories = temp->next; SetCurrentDirectoryW(temp->strings); - LocalFree (temp->strings); - LocalFree (temp); + free(temp->strings); + free(temp); return NO_ERROR; }
@@ -2150,16 +2144,11 @@ static WCHAR *WCMD_dupenv( const WCHAR *env )
len = 0; while ( env[len] ) - len += (lstrlenW(&env[len]) + 1); + len += lstrlenW(&env[len]) + 1; + len++;
- env_copy = LocalAlloc (LMEM_FIXED, (len+1) * sizeof (WCHAR) ); - if (!env_copy) - { - WINE_ERR("out of memory\n"); - return env_copy; - } - memcpy (env_copy, env, len*sizeof (WCHAR)); - env_copy[len] = 0; + env_copy = xalloc(len * sizeof (WCHAR)); + memcpy(env_copy, env, len*sizeof (WCHAR));
return env_copy; } @@ -2199,12 +2188,7 @@ RETURN_CODE WCMD_setlocal(WCHAR *args) TRACE("Setting delayed expansion to %d\n", newdelay); }
- env_copy = LocalAlloc (LMEM_FIXED, sizeof (struct env_stack)); - if( !env_copy ) - { - ERR("out of memory\n"); - return errorlevel = ERROR_OUTOFMEMORY; - } + env_copy = xalloc( sizeof(struct env_stack));
env = GetEnvironmentStringsW (); env_copy->strings = WCMD_dupenv (env); @@ -2221,7 +2205,7 @@ RETURN_CODE WCMD_setlocal(WCHAR *args) env_copy->u.cwd = cwd[0]; } else - LocalFree (env_copy); + free(env_copy);
FreeEnvironmentStringsW (env); return errorlevel = NO_ERROR; @@ -2266,7 +2250,7 @@ RETURN_CODE WCMD_endlocal(void) } len += n; } - LocalFree (old); + free(old); FreeEnvironmentStringsW (env);
/* restore old environment */ @@ -2297,8 +2281,8 @@ RETURN_CODE WCMD_endlocal(void) } }
- LocalFree (env); - LocalFree (temp); + free(env); + free(temp); return NO_ERROR; }
@@ -2477,14 +2461,12 @@ static int WCMD_setshow_sortenv(const WCHAR *s, const WCHAR *stub)
/* count the number of strings, and the total length */ while ( s[len] ) { - len += (lstrlenW(&s[len]) + 1); + len += lstrlenW(&s[len]) + 1; count++; }
/* add the strings to an array */ - str = LocalAlloc (LMEM_FIXED | LMEM_ZEROINIT, count * sizeof (WCHAR*) ); - if( !str ) - return 0; + str = xalloc(count * sizeof (WCHAR*) ); str[0] = s; for( i=1; i<count; i++ ) str[i] = str[i-1] + lstrlenW(str[i-1]) + 1; @@ -2506,7 +2488,7 @@ static int WCMD_setshow_sortenv(const WCHAR *s, const WCHAR *stub) } }
- LocalFree( str ); + free( str ); return displayedcount; }
From: Eric Pouech epouech@codeweavers.com
Signed-off-by: Eric Pouech epouech@codeweavers.com --- programs/cmd/builtins.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/programs/cmd/builtins.c b/programs/cmd/builtins.c index 30bd320bd34..2d08b459a02 100644 --- a/programs/cmd/builtins.c +++ b/programs/cmd/builtins.c @@ -3013,14 +3013,14 @@ exprerrorreturn: RETURN_CODE WCMD_setshow_env(WCHAR *s) { RETURN_CODE return_code = NO_ERROR; - LPVOID env; WCHAR *p; BOOL status; WCHAR string[MAXSTRING];
if (param1[0] == 0x00 && quals[0] == 0x00) { - env = GetEnvironmentStringsW(); + WCHAR *env = GetEnvironmentStringsW(); WCMD_setshow_sortenv( env, NULL ); + FreeEnvironmentStringsW(env); }
/* See if /P supplied, and if so echo the prompt, and read in a reply */ @@ -3118,11 +3118,12 @@ RETURN_CODE WCMD_setshow_env(WCHAR *s)
p = wcschr (s, '='); if (p == NULL) { - env = GetEnvironmentStringsW(); + WCHAR *env = GetEnvironmentStringsW(); if (WCMD_setshow_sortenv( env, s ) == 0) { WCMD_output_stderr(WCMD_LoadMessage(WCMD_MISSINGENV), s); return_code = ERROR_INVALID_FUNCTION; } + FreeEnvironmentStringsW(env); } else {
From: Eric Pouech epouech@codeweavers.com
It should produce an error, not print the whole environment.
Signed-off-by: Eric Pouech epouech@codeweavers.com --- programs/cmd/builtins.c | 2 +- programs/cmd/tests/test_builtins.cmd.exp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/programs/cmd/builtins.c b/programs/cmd/builtins.c index 2d08b459a02..e79b7845f94 100644 --- a/programs/cmd/builtins.c +++ b/programs/cmd/builtins.c @@ -3017,7 +3017,7 @@ RETURN_CODE WCMD_setshow_env(WCHAR *s) BOOL status; WCHAR string[MAXSTRING];
- if (param1[0] == 0x00 && quals[0] == 0x00) { + if (!*s) { WCHAR *env = GetEnvironmentStringsW(); WCMD_setshow_sortenv( env, NULL ); FreeEnvironmentStringsW(env); diff --git a/programs/cmd/tests/test_builtins.cmd.exp b/programs/cmd/tests/test_builtins.cmd.exp index 8b74a7ab27d..cf500a516de 100644 --- a/programs/cmd/tests/test_builtins.cmd.exp +++ b/programs/cmd/tests/test_builtins.cmd.exp @@ -712,7 +712,7 @@ prompt XbarX prompt YfooY 'prompt' YfooY promptYfooY -@todo_wine@------------ Testing 'choice' ------------ +------------ Testing 'choice' ------------ Example message [A,B,C]?A@or_broken@choice unavailable 1@or_broken@9009 Example message [A,B,C]?B@or_broken@choice unavailable
Hi,
It looks like your patch introduced the new failures shown below. Please investigate and fix them before resubmitting your patch. If they are not new, fixing them anyway would help a lot. Otherwise please ask for the known failures list to be updated.
The tests also ran into some preexisting test failures. If you know how to fix them that would be helpful. See the TestBot job for the details:
The full results can be found at: https://testbot.winehq.org/JobDetails.pl?Key=148853
Your paranoid android.
=== w10pro64_ja (64 bit report) ===
cmd.exe: batch.c:348: Test failed: unexpected char 0x2d position 0 in line 1925 (got '--- setlocal with corresponding endlocal', wanted 'ErrLev: 0') batch.c:348: Test failed: unexpected char 0x2d position 0 in line 1926 (got '--- setlocal with corresponding endlocal', wanted 'ErrLev:@space@@or_broken@ErrLev: 0') batch.c:348: Test failed: unexpected char 0x2d position 0 in line 1927 (got '--- setlocal with corresponding endlocal', wanted 'ErrLev: 0') batch.c:348: Test failed: unexpected char 0x66 position 9 in line 2034 (got 'start /W failed to wait', wanted 'start /W seems to really wait') batch.c:348: Test failed: unexpected char 0x73 position 0 in line 2047 (got 'shouldnot ', wanted '------------ Testing combined CALLs/GOTOs ------------') batch.c:348: Test failed: unexpected char 0x73 position 0 in line 2048 (got 'stillthere ', wanted '------------ Testing combined CALLs/GOTOs ------------') batch.c:348: Test failed: unexpected char 0x2d position 0 in line 3 (got '--- Test 2', wanted '"Line2"') batch.c:348: Test failed: unexpected char 0x2d position 0 in line 5 (got '--- Test 3', wanted 'Test quotes "&" work') batch.c:348: Test failed: unexpected char 0x2d position 0 in line 7 (got '--- Test 4', wanted '"&"') batch.c:348: Test failed: unexpected char 0x2d position 0 in line 11 (got '--- Test 6', wanted '">"') batch.c:348: Test failed: unexpected char 0x2d position 0 in line 13 (got '--- Test 7', wanted '""') batch.c:348: Test failed: unexpected char 0x2d position 0 in line 15 (got '--- Test 8', wanted '"|"') batch.c:348: Test failed: unexpected char 0x2d position 0 in line 17 (got '--- Test 9', wanted '"`"') batch.c:348: Test failed: unexpected char 0x2d position 0 in line 19 (got '--- Test 10', wanted '"""') batch.c:348: Test failed: unexpected char 0x2d position 0 in line 23 (got '--- Test 13', wanted 'passed1') batch.c:348: Test failed: unexpected char 0x2d position 0 in line 25 (got '--- Test 14', wanted 'passed2@space@') batch.c:348: Test failed: unexpected char 0x2d position 0 in line 27 (got '--- Test 15', wanted 'foobar') batch.c:348: Test failed: unexpected char 0x2d position 0 in line 29 (got '--- Test 16', wanted 'No whitespace') batch.c:348: Test failed: unexpected char 0x2d position 0 in line 35 (got '------ Testing invocation of batch files ----------', wanted 'alabaster') batch.c:348: Test failed: unexpected char 0x2d position 0 in line 36 (got '------ Testing invocation of batch files ----------', wanted 'chrome') batch.c:348: Test failed: unexpected char 0x2d position 0 in line 37 (got '------ Testing invocation of batch files ----------', wanted '%hello1%') batch.c:348: Test failed: unexpected char 0x2d position 0 in line 38 (got '------ Testing invocation of batch files ----------', wanted '%hello2') batch.c:348: Test failed: unexpected char 0x2d position 0 in line 39 (got '------ Testing invocation of batch files ----------', wanted '%hello3:h=t%') batch.c:348: Test failed: unexpected char 0x2d position 0 in line 40 (got '------ Testing invocation of batch files ----------', wanted '%hello4%%') batch.c:348: Test failed: unexpected char 0x2d position 0 in line 41 (got '------ Testing invocation of batch files ----------', wanted 'one = %1') batch.c:348: Test failed: unexpected char 0x2d position 0 in line 42 (got '------ Testing invocation of batch files ----------', wanted '1') batch.c:348: Test failed: unexpected char 0x2d position 0 in line 43 (got '------ Testing invocation of batch files ----------', wanted '2') batch.c:348: Test failed: unexpected char 0x2d position 0 in line 44 (got '------ Testing invocation of batch files ----------', wanted '3') batch.c:348: Test failed: unexpected char 0x2d position 0 in line 45 (got '------ Testing invocation of batch files ----------', wanted '4') batch.c:348: Test failed: unexpected char 0x2d position 0 in line 46 (got '------ Testing invocation of batch files ----------', wanted '5') batch.c:348: Test failed: unexpected char 0x2d position 0 in line 47 (got '------ Testing invocation of batch files ----------', wanted 'var contents: 11') batch.c:348: Test failed: unexpected char 0x2d position 0 in line 48 (got '------ Testing invocation of batch files ----------', wanted 'var=33@space@') batch.c:348: Test failed: unexpected char 0x2d position 0 in line 49 (got '------ Testing invocation of batch files ----------', wanted '99') batch.c:348: Test failed: unexpected char 0x65 position 0 in line 64 (got 'error 9020', wanted '0@space@') batch.c:348: Test failed: unexpected char 0x65 position 0 in line 65 (got 'error 9020', wanted '1@space@') batch.c:348: Test failed: unexpected char 0x65 position 0 in line 66 (got 'error 9020', wanted '0@space@') batch.c:348: Test failed: unexpected char 0x65 position 0 in line 67 (got 'error 9020', wanted '0@space@') batch.c:348: Test failed: unexpected char 0x65 position 0 in line 68 (got 'error 9020', wanted '1@space@') batch.c:348: Test failed: unexpected char 0x65 position 0 in line 69 (got 'error 9020', wanted '0@space@') batch.c:348: Test failed: unexpected char 0x50 position 0 in line 70 (got 'Passed', wanted '1@space@') batch.c:348: Test failed: unexpected char 0x2d position 0 in line 71 (got '---------- Testing CMD /C quoting -----------------', wanted '2@space@') batch.c:348: Test failed: unexpected char 0x2d position 0 in line 72 (got '---------- Testing CMD /C quoting -----------------', wanted '0@space@') batch.c:348: Test failed: unexpected char 0x2d position 0 in line 73 (got '---------- Testing CMD /C quoting -----------------', wanted '3@space@') batch.c:348: Test failed: unexpected char 0x2d position 0 in line 74 (got '---------- Testing CMD /C quoting -----------------', wanted '4@space@') batch.c:348: Test failed: unexpected char 0x2d position 0 in line 75 (got '---------- Testing CMD /C quoting -----------------', wanted 'Passed') batch.c:348: Test failed: unexpected char 0x65 position 0 in line 77 (got 'error 9020', wanted '"hi"') batch.c:348: Test failed: unexpected char 0x65 position 0 in line 78 (got 'error 9020', wanted '1@space@') batch.c:348: Test failed: unexpected char 0x2d position 0 in line 79 (got '------- Testing CMD /C qualifier treatment ------------', wanted '""\"\"\\"@space@""\"\"\\"') batch.c:348: Test failed: unexpected char 0x2d position 0 in line 80 (got '------- Testing CMD /C qualifier treatment ------------', wanted '1@space@') batch.c:348: Test failed: unexpected char 0x2d position 0 in line 81 (got '------- Testing CMD /C qualifier treatment ------------', wanted '0@space@') batch.c:348: Test failed: unexpected char 0x2d position 0 in line 82 (got '------- Testing CMD /C qualifier treatment ------------', wanted '1@space@') batch.c:348: Test failed: unexpected char 0x2d position 0 in line 83 (got '------- Testing CMD /C qualifier treatment ------------', wanted '0@space@') batch.c:348: Test failed: unexpected char 0x2d position 0 in line 84 (got '------- Testing CMD /C qualifier treatment ------------', wanted '0@space@') batch.c:348: Test failed: unexpected char 0x2d position 0 in line 85 (got '------- Testing CMD /C qualifier treatment ------------', wanted '0@space@@or_broken@3@space@') batch.c:348: Test failed: unexpected char 0x2d position 0 in line 86 (got '------- Testing CMD /C qualifier treatment ------------', wanted '3@space@') batch.c:348: Test failed: unexpected char 0x2d position 0 in line 87 (got '------- Testing CMD /C qualifier treatment ------------', wanted '2@space@') batch.c:348: Test failed: unexpected char 0x2d position 0 in line 88 (got '------- Testing CMD /C qualifier treatment ------------', wanted '2@space@') batch.c:348: Test failed: unexpected char 0x2d position 0 in line 89 (got '------- Testing CMD /C qualifier treatment ------------', wanted '2@space@') batch.c:348: Test failed: unexpected char 0x2d position 0 in line 90 (got '------- Testing CMD /C qualifier treatment ------------', wanted '0@space@') batch.c:348: Test failed: unexpected char 0x2d position 0 in line 91 (got '------- Testing CMD /C qualifier treatment ------------', wanted '5@space@') batch.c:348: Test failed: unexpected char 0x2d position 0 in line 92 (got '------- Testing CMD /C qualifier treatment ------------', wanted 'hi') batch.c:348: Test failed: unexpected char 0x2d position 0 in line 93 (got '------- Testing CMD /C qualifier treatment ------------', wanted 'hi') batch.c:348: Test failed: unexpected char 0x2d position 0 in line 94 (got '------- Testing CMD /C qualifier treatment ------------', wanted 'hi') batch.c:348: Test failed: unexpected char 0x2d position 0 in line 96 (got '--------- Testing special characters --------------', wanted '0@space@') batch.c:348: Test failed: unexpected char 0x2d position 0 in line 97 (got '--------- Testing special characters --------------', wanted '1@space@') batch.c:348: Test failed: unexpected char 0x2d position 0 in line 98 (got '--------- Testing special characters --------------', wanted '0@space@') batch.c:348: Test failed: unexpected char 0x2d position 0 in line 99 (got '--------- Testing special characters --------------', wanted '0@space@') batch.c:348: Test failed: unexpected char 0x2d position 0 in line 100 (got '--------- Testing special characters --------------', wanted '0@space@') batch.c:348: Test failed: unexpected char 0x2d position 0 in line 101 (got '--------- Testing special characters --------------', wanted '0@space@') batch.c:348: Test failed: unexpected char 0x2d position 0 in line 102 (got '--------- Testing special characters --------------', wanted '0@space@') batch.c:348: Test failed: unexpected char 0x2d position 0 in line 103 (got '--------- Testing special characters --------------', wanted '0@space@') batch.c:348: Test failed: unexpected char 0x2d position 0 in line 104 (got '--------- Testing special characters --------------', wanted '0@space@') batch.c:348: Test failed: unexpected char 0x2d position 0 in line 105 (got '--------- Testing special characters --------------', wanted '0@space@') batch.c:348: Test failed: unexpected char 0x2d position 0 in line 106 (got '--------- Testing special characters --------------', wanted 'bar@space@') batch.c:348: Test failed: unexpected char 0x2d position 0 in line 107 (got '--------- Testing special characters --------------', wanted 'bar@space@') batch.c:348: Test failed: unexpected char 0x5d position 0 in line 112 (got '] ', wanted '[@space@') batch.c:348: Test failed: unexpected char 0x7b position 0 in line 113 (got '{ ', wanted ']@space@') batch.c:348: Test failed: unexpected char 0x7d position 0 in line 114 (got '} ', wanted '{@space@') batch.c:348: Test failed: unexpected char 0x30 position 0 in line 115 (got '0 ', wanted '}@space@') batch.c:348: Test failed: unexpected char 0x21 position 0 in line 117 (got '! ', wanted '0@space@') batch.c:348: Test failed: unexpected char 0x30 position 0 in line 118 (got '0 ', wanted '!@space@') batch.c:348: Test failed: unexpected char 0x27 position 0 in line 120 (got '' ', wanted '0@space@') batch.c:348: Test failed: unexpected char 0x2b position 0 in line 121 (got '+ ', wanted ''@space@') batch.c:348: Test failed: unexpected char 0x30 position 0 in line 122 (got '0 ', wanted '+@space@') batch.c:348: Test failed: unexpected char 0x27 position 0 in line 123 (got '' ', wanted '0@space@') batch.c:348: Test failed: unexpected char 0x7e position 0 in line 124 (got '~ ', wanted ''@space@') batch.c:348: Test failed: unexpected char 0x2d position 0 in line 125 (got '--------- Testing parameter passing --------------', wanted '~@space@')
=== debian11b (64 bit WoW report) ===
user32: input.c:4305: Test succeeded inside todo block: button_down_hwnd_todo 1: got MSG_TEST_WIN hwnd 00000000049A00F6, msg WM_LBUTTONDOWN, wparam 0x1, lparam 0x320032