summaryrefslogtreecommitdiff
path: root/tests/libtest/test75.pl
blob: 4d14b1e12e2664bdb7a01ffb5da35a511c8af676 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/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;