~ubuntu-branches/ubuntu/natty/curl/natty

« back to all changes in this revision

Viewing changes to tests/libtest/test1013.pl

  • Committer: Bazaar Package Importer
  • Author(s): Bhavani Shankar
  • Date: 2010-06-20 13:56:28 UTC
  • mfrom: (3.4.7 sid)
  • Revision ID: james.westby@ubuntu.com-20100620135628-e30tp9jldq6hq985
Tags: 7.21.0-1ubuntu1
* Merge from debian unstable.  Remaining changes: LP: #596334
  - Keep build deps in main:
    - Drop build dependencies: stunnel, libssh2-1-dev
    - Add build-dependency on openssh-server
    - Drop libssh2-1-dev from libcurl4-openssl-dev's Depends.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#!/usr/bin/env perl
2
2
# Determine if curl-config --protocols/--features matches the
3
3
# curl --version protocols/features
4
 
if ( $#ARGV != 2 ) 
 
4
if ( $#ARGV != 2 )
5
5
{
6
 
        print "Usage: $0 curl-config-script curl-version-output-file features|protocols\n";
7
 
        exit 3;
 
6
    print "Usage: $0 curl-config-script curl-version-output-file features|protocols\n";
 
7
    exit 3;
8
8
}
9
9
 
10
10
my $what=$ARGV[2];
42
42
 
43
43
my $different = $curlproto ne $curlconfigproto;
44
44
if ($different) {
45
 
        print "Mismatch in $what lists:\n";
46
 
        print "curl:        $curlproto\n";
47
 
        print "curl-config: $curlconfigproto\n";
 
45
    print "Mismatch in $what lists:\n";
 
46
    print "curl:        $curlproto\n";
 
47
    print "curl-config: $curlconfigproto\n";
48
48
}
49
49
exit $different;