]> git.ipfire.org Git - thirdparty/curl.git/commit
tests: make it possible to set executable extensions 3899/head
authorMarc Hoersken <info@marc-hoersken.de>
Sat, 18 May 2019 21:32:04 +0000 (23:32 +0200)
committerJay Satiro <raysatiro@yahoo.com>
Tue, 10 Dec 2019 00:32:41 +0000 (19:32 -0500)
commit9819984fbb04968dcec53a65ae0dfae23111dd18
treeb66fdf74f8b3b7396e19f993df9125934209dee2
parent213c5aca7bfc74a6ae02b065c5f38a1e9ff54d62
tests: make it possible to set executable extensions

This enables the use of Windows Subsystem for Linux (WSL) to run the
testsuite against Windows binaries while using Linux servers.

This commit introduces the following environment variables:
- CURL_TEST_EXE_EXT: set the executable extension for all components
- CURL_TEST_EXE_EXT_TOOL: set it for the curl tool only
- CURL_TEST_EXE_EXT_SSH: set it for the SSH tools only

Later testcurl.pl could be adjusted to make use of those variables.
- CURL_TEST_EXE_EXT_SRV: set it for the test servers only

(This is one of several commits to support use of WSL for the tests.)

Closes https://github.com/curl/curl/pull/3899
tests/ftpserver.pl
tests/httpserver.pl
tests/runtests.pl
tests/sshhelp.pm