curl/tests/libtest/test75.pl

14 lines
242 B
Perl
Raw Normal View History

#!/usr/bin/env perl
# Check that the length of a given URL is correct
2010-02-14 20:40:18 +01:00
if ( $#ARGV != 1 )
{
print "Usage: $0 string length\n";
exit 3;
}
if (length(@ARGV[0]) != @ARGV[1])
{
print "Given host IP and port not supported\n";
exit 1;
}
exit 0;