1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-22 16:18:48 -05:00
curl/tests/libtest/test75.pl
Dan Fandrich 5187faeeb9 Improved the test harness to allow running test servers on other than
the default port numbers, allowing more than one test suite to run
simultaneously on the same host.
2007-04-30 20:15:33 +00:00

14 lines
243 B
Perl
Executable File

#!/usr/bin/env perl
# Check that the length of a given URL is correct
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;