]> git.ipfire.org Git - thirdparty/curl.git/commit
tests: use Cygwin/msys PIDs for stunnel and sshd on Windows
authorMarc Hoersken <info@marc-hoersken.de>
Fri, 10 Apr 2020 20:54:24 +0000 (22:54 +0200)
committerMarc Hoersken <info@marc-hoersken.de>
Sat, 11 Apr 2020 21:46:15 +0000 (23:46 +0200)
commitc1951cdb38817c4c7ba14535140912f5f69ae982
tree43200afa3476df0465ece5921f203c85f532effe
parent2a93021750b4979f32dd445c3366453c33390ea0
tests: use Cygwin/msys PIDs for stunnel and sshd on Windows

Since the Windows versions of both programs would write Windows
PIDs to their pidfiles which we cannot handle, we need to use
our known perl.exe Cygwin/msys PID together with exec() in order
to tie the spawned processes to the existance of our perl.exe

The perl.exe that is executing secureserver.pl and sshserver.pl
has a Cygwin/msys PID, because it is started inside Cygwin/msys.

Related to #5188
tests/secureserver.pl
tests/sshserver.pl