~ubuntu-branches/ubuntu/gutsy/curl/gutsy

« back to all changes in this revision

Viewing changes to tests/httpsserver.pl

  • Committer: Bazaar Package Importer
  • Author(s): Martin Pitt
  • Date: 2006-06-29 15:04:24 UTC
  • mto: This revision was merged to the branch mainline in revision 8.
  • Revision ID: james.westby@ubuntu.com-20060629150424-be178abcwks1n519
Tags: upstream-7.15.4
ImportĀ upstreamĀ versionĀ 7.15.4

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#!/usr/bin/perl
2
2
#
3
 
# $Id: httpsserver.pl,v 1.6 2003/10/29 16:27:43 bagder Exp $
 
3
# $Id: httpsserver.pl,v 1.7 2006-04-10 13:10:25 bagder Exp $
4
4
# This is the HTTPS server designed for the curl test suite.
5
5
#
6
6
# It is actually just a layer that runs stunnel properly.
82
82
    print "HTTPS server: $cmd\n";
83
83
}
84
84
 
85
 
system($cmd);
 
85
my $rc = system($cmd);
 
86
 
 
87
$rc >>= 8;
 
88
if($rc) {
 
89
    print STDERR "stunnel exited with $rc!\n";
 
90
}
86
91
 
87
92
unlink $conffile;
 
93
 
 
94
exit $rc;