mirror of
https://github.com/moparisthebest/curl
synced 2025-02-28 09:21:50 -05:00
tests: Fix some incorrect precheck error messages.
[ci skip]
This commit is contained in:
parent
7c46691178
commit
48287c9c96
@ -40,7 +40,7 @@ HTTP-IPv6 GET with numeric localhost --interface
|
|||||||
</command>
|
</command>
|
||||||
# --interface doesn't accept an address surrounded by [] so %CLIENT6IP is out
|
# --interface doesn't accept an address surrounded by [] so %CLIENT6IP is out
|
||||||
<precheck>
|
<precheck>
|
||||||
perl -e "print 'Test requires default test server host address' if ( '%CLIENT6IP' ne '[::1]' );"
|
perl -e "print 'Test requires default test client host address' if ( '%CLIENT6IP' ne '[::1]' );"
|
||||||
</precheck>
|
</precheck>
|
||||||
</client>
|
</client>
|
||||||
|
|
||||||
|
@ -48,7 +48,7 @@ FTP-IPv6 dir list PASV with localhost --interface
|
|||||||
</command>
|
</command>
|
||||||
# --interface doesn't accept an address surrounded by [] so %CLIENT6IP is out
|
# --interface doesn't accept an address surrounded by [] so %CLIENT6IP is out
|
||||||
<precheck>
|
<precheck>
|
||||||
perl -e "print 'Test requires default test server host address' if ( '%CLIENT6IP' ne '[::1]' );"
|
perl -e "print 'Test requires default test client host address' if ( '%CLIENT6IP' ne '[::1]' );"
|
||||||
</precheck>
|
</precheck>
|
||||||
</client>
|
</client>
|
||||||
|
|
||||||
|
@ -43,7 +43,7 @@ FTP-IPv6 dir list, EPRT with specified IP
|
|||||||
</command>
|
</command>
|
||||||
# --interface doesn't accept an address surrounded by [] so %CLIENT6IP is out
|
# --interface doesn't accept an address surrounded by [] so %CLIENT6IP is out
|
||||||
<precheck>
|
<precheck>
|
||||||
perl -e "print 'Test requires default test server host address' if ( '%CLIENT6IP' ne '[::1]' );"
|
perl -e "print 'Test requires default test client host address' if ( '%CLIENT6IP' ne '[::1]' );"
|
||||||
</precheck>
|
</precheck>
|
||||||
</client>
|
</client>
|
||||||
|
|
||||||
|
@ -35,7 +35,7 @@ HTTP GET with localhost --interface
|
|||||||
http://%HOSTIP:%HTTPPORT/1082 --interface localhost
|
http://%HOSTIP:%HTTPPORT/1082 --interface localhost
|
||||||
</command>
|
</command>
|
||||||
<precheck>
|
<precheck>
|
||||||
perl -e "print 'Test requires default test server host address' if ( '%CLIENTIP' ne '127.0.0.1' );"
|
perl -e "print 'Test requires default test client host address' if ( '%CLIENTIP' ne '127.0.0.1' );"
|
||||||
</precheck>
|
</precheck>
|
||||||
</client>
|
</client>
|
||||||
|
|
||||||
|
@ -39,7 +39,7 @@ HTTP-IPv6 GET with ip6-localhost --interface
|
|||||||
-g "http://%HOST6IP:%HTTP6PORT/1083" --interface ip6-localhost
|
-g "http://%HOST6IP:%HTTP6PORT/1083" --interface ip6-localhost
|
||||||
</command>
|
</command>
|
||||||
<precheck>
|
<precheck>
|
||||||
perl -e "if ('%CLIENT6IP' ne '[::1]') {print 'Test requires default test server host address';} else {exec './server/resolve --ipv6 ip6-localhost'; print 'Cannot run precheck resolve';}"
|
perl -e "if ('%CLIENT6IP' ne '[::1]') {print 'Test requires default test client host address';} else {exec './server/resolve --ipv6 ip6-localhost'; print 'Cannot run precheck resolve';}"
|
||||||
</precheck>
|
</precheck>
|
||||||
</client>
|
</client>
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user