Fixes Clang -Wuninitialized-const-pointer warning.
We could also just have `memset()` initialization, but passing a fully valid URL makes it clear that URL is not the reason for `WsEncodeUrl` failures.
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/8619
Follow-up of !2786, which appears to have been abandoned.
Depends on !8182, !8575, !8578
# Execute minimal test case
1. checkout wine into ~/src/wine
2. in dlls/ws2_32/tests/sock.c wrap all calls to test functions after `Init()` until `test_afunix()` with #if 0 ... #endif
3. build into ~/src/wine-build
4. run `(cd ~/src/wine-build; WINEPREFIX=~/src/wine/.wine ../wine/tools/runtest -q -P wine -T . -M ws2_32.dll -p dlls/ws2_32/tests/i386-windows/ws2_32_test.exe sock)`
# How to debug wineserver
Since `wineserver` runs in the background, simple calls to printf() will show nothing when the test case is executed. A workaround is to open a file and call fprintf() to write debug messages to this file, which can then be inspected.
--
v36: ws2_32: Add note in bind() for AF_UNIX sockets
ws2_32/tests: In tests for AF_UNIX sockets print actual directory used
ws2_32/tests: In AF_UNIX socket tests always print used path in case of errors
ws2_32/tests: Add test for AF_UNIX sockets
server: Fix getsockname() and accept() on AF_UNIX sockets.
server: Introduce error when attempting to create a SOCK_DGRAM AF_UNIX socket.
ws2_32: Add support for AF_UNIX sockets.
server: Allow for deletion of socket files.
https://gitlab.winehq.org/wine/wine/-/merge_requests/7650
This fixes failure to play the prologue video in Planet of the Apes: Last Frontier, which unpauses by calling Start() with a location. The exact state leading to this issue does not occur in the Start() tests, and it's not clear how to reproduce it reliably.
--
v7: mf: Do not count draining a downstream node as a request fulfillment.
mf: Fill the sample request queue also when seeking while running.
mf: Initialise the grabber sample count when setting state after a seek.
mf/tests: Wait for session closure at the end of test_media_session_Start().
mf/tests: Test pause followed by immediate restart at current time in test_media_session_Start().
mf/tests: Test sample delivery where applicable in test_media_session_Start().
https://gitlab.winehq.org/wine/wine/-/merge_requests/7466
--
v6: kernelbase: Wait in GetOverlappedResultEx() even if IOSB status is not pending.
kernelbase: Always set last error in GetOverlappedResult[Ex]().
kernelbase: Duplicate GetOverlappedResult() implementation instead of calling GetOverlappedResultEx().
https://gitlab.winehq.org/wine/wine/-/merge_requests/8572
--
v3: server: Set IOSB for cancelled asyncs in async_terminate().
ntdll: Make wait in wait_async() always non-alertable.
ntdll: Factor out test_alert_with_status().
ntdll/tests: Add more tests for canceling synchronous IO.
https://gitlab.winehq.org/wine/wine/-/merge_requests/8592