test1056: replace perl precheck with feature check

This commit is contained in:
Viktor Szakats 2025-08-20 20:08:53 +02:00
parent 3d719ca463
commit 833c0e73d4
No known key found for this signature in database
GPG key ID: B5ABD165E2AEF201

View file

@ -49,6 +49,8 @@ body
# to skip those.
<features>
IPv6
# Test is not supported on the Windows kernel
!cygwin
!win32
</features>
<server>
@ -61,9 +63,6 @@ HTTP follow redirect from IPv4 to IPv6 with scope
<command>
http://%HOSTIP:%HTTPPORT/we/are/all/twits/%TESTNUMBER -L
</command>
<precheck>
%PERL -e "print 'Test is not supported on the Windows kernel' if($^O eq 'MSWin32' || $^O eq 'msys' || $^O eq 'cygwin');"
</precheck>
</client>
#