tests/data: add %PERL to postcheck commands where missing

To avoid potentially executing a different Perl than used by the rest
of the build and tests.

Also to be more portable by not relying on shebang support, though these
particular tests require POSIX shell anyway.

Closes #19767
This commit is contained in:
Viktor Szakats 2025-11-30 02:57:39 +01:00
parent 2d2d70b6e5
commit 0180af2481
No known key found for this signature in database
GPG key ID: B5ABD165E2AEF201
4 changed files with 4 additions and 4 deletions

View file

@ -25,7 +25,7 @@ Compare curl --version with curl-config --protocols
# Verify data after the test has been "shot"
<verify>
<postcheck>
%SRCDIR/libtest/test%TESTNUMBER.pl ../curl-config %LOGDIR/stdout%TESTNUMBER protocols
%PERL %SRCDIR/libtest/test%TESTNUMBER.pl ../curl-config %LOGDIR/stdout%TESTNUMBER protocols
</postcheck>
<errorcode>
0

View file

@ -25,7 +25,7 @@ Compare curl --version with curl-config --features
# Verify data after the test has been "shot"
<verify>
<postcheck>
%SRCDIR/libtest/test1013.pl ../curl-config %LOGDIR/stdout%TESTNUMBER features > %LOGDIR/result%TESTNUMBER
%PERL %SRCDIR/libtest/test1013.pl ../curl-config %LOGDIR/stdout%TESTNUMBER features > %LOGDIR/result%TESTNUMBER
</postcheck>
<errorcode>
0

View file

@ -25,7 +25,7 @@ Compare curl --version with curl-config --version
# Verify data after the test has been "shot"
<verify>
<postcheck>
%SRCDIR/libtest/test%TESTNUMBER.pl ../curl-config %LOGDIR/stdout%TESTNUMBER version
%PERL %SRCDIR/libtest/test%TESTNUMBER.pl ../curl-config %LOGDIR/stdout%TESTNUMBER version
</postcheck>
<errorcode>
0

View file

@ -25,7 +25,7 @@ Compare curl --version with curl-config --vernum
# Verify data after the test has been "shot"
<verify>
<postcheck>
%SRCDIR/libtest/test1022.pl ../curl-config %LOGDIR/stdout%TESTNUMBER vernum
%PERL %SRCDIR/libtest/test1022.pl ../curl-config %LOGDIR/stdout%TESTNUMBER vernum
</postcheck>
<errorcode>
0