~ubuntu-branches/ubuntu/jaunty/curl/jaunty-security

« back to all changes in this revision

Viewing changes to tests/libtest/test75.pl

  • Committer: Bazaar Package Importer
  • Author(s): Matthias Klose
  • Date: 2007-08-01 12:22:30 UTC
  • mfrom: (1.1.8 upstream)
  • Revision ID: james.westby@ubuntu.com-20070801122230-uaarmp6lo65py9t6
Tags: 7.16.4-1ubuntu1
* Merge with Debian.
  - Drop debian/patches/gnutls-verifications, applied upstream.
  - Remove all stuff which should be reverted according to 7.16.2-6ubuntu4.
  - Remaining change: drop stunnel build dependency.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/usr/bin/env perl
 
2
# Check that the length of a given URL is correct
 
3
if ( $#ARGV != 1 ) 
 
4
{
 
5
        print "Usage: $0 string length\n";
 
6
        exit 3;
 
7
}
 
8
if (length(@ARGV[0]) != @ARGV[1])
 
9
{
 
10
        print "Given host IP and port not supported\n";
 
11
        exit 1;
 
12
}
 
13
exit 0;