test-nginx
test-nginx copied to clipboard
feature: support windows OS testing.
I patch a bit for supporting windows OS run testing.
- use dos command
START /B,nginx.exe -s stop,TASKKILL, andwmicto manipulate processes. - use
String::Escapeto encode file path text. Due to the windows path separator\will be treat as nginx escape character. - no nginx user directive on windows OS testing.
- patch non-blocking socket handling on windows OS.
use POSIX::WSAEWOULDBLOCK signal