mirror of
https://github.com/curl/curl.git
synced 2026-08-25 02:03:36 +03:00
tests: add and use %PERL variable to refer to the Perl binary
To ensure Perl invocations within tests call the same Perl binary used for running the tests, as specified or auto-detected via `PERL` env (autotools) or `PERL_EXECUTABLE` setting (cmake). Instead of the first `perl` executable found in `PATH`.) Cherry-picked from #14949 Closes #15097
This commit is contained in:
parent
f6cb707b6a
commit
31a29fc6bd
30 changed files with 44 additions and 41 deletions
|
|
@ -21,7 +21,7 @@ Dummy test file for rmdir test
|
|||
sftp
|
||||
</server>
|
||||
<precheck>
|
||||
perl %SRCDIR/libtest/test%TESTNUMBER.pl mkdir %PWD/%LOGDIR/test%TESTNUMBER.dir
|
||||
%PERL %SRCDIR/libtest/test%TESTNUMBER.pl mkdir %PWD/%LOGDIR/test%TESTNUMBER.dir
|
||||
</precheck>
|
||||
<name>
|
||||
SFTP post-quote rmdir
|
||||
|
|
@ -38,7 +38,7 @@ Dummy test file for rmdir test
|
|||
# Verify data after the test has been "shot"
|
||||
<verify>
|
||||
<postcheck>
|
||||
perl %SRCDIR/libtest/test%TESTNUMBER.pl gone %PWD/%LOGDIR/test%TESTNUMBER.dir
|
||||
%PERL %SRCDIR/libtest/test%TESTNUMBER.pl gone %PWD/%LOGDIR/test%TESTNUMBER.dir
|
||||
</postcheck>
|
||||
</verify>
|
||||
</testcase>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue