]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
tests/data: add `%PERL` to postcheck commands where missing master
authorViktor Szakats <commit@vsz.me>
Sun, 30 Nov 2025 01:57:39 +0000 (02:57 +0100)
committerViktor Szakats <commit@vsz.me>
Sun, 30 Nov 2025 10:01:50 +0000 (11:01 +0100)
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

tests/data/test1013
tests/data/test1014
tests/data/test1022
tests/data/test1023

index aee2bfbefb3a05ad77fa6aab8976c22180e2dc19..ef7cd958aa7eb0de4beb8b8eea808b6259f05ff9 100644 (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
index 7dce0d8e15422e3d20698855cbb902402ac0b7b8..72289bc4ad3249a538707c6515bab0d99e65d174 100644 (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
index 888c9ea1024ca18b79247051322eb9455298d73a..b3b6bc04a2d62a802b50d728ccd61ab73fb353e4 100644 (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
index 40fb11f81ed26be0eeb36f9ec0593ad47eaf9252..6e55d235e82d924162ad5a5c378d37b9191844de 100644 (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