~ubuntu-branches/debian/stretch/apt-cacher-ng/stretch

« back to all changes in this revision

Viewing changes to test/soap/tryssl.sh

  • Committer: Package Import Robot
  • Author(s): Eduard Bloch
  • Date: 2015-09-21 21:35:41 UTC
  • mfrom: (1.6.28)
  • Revision ID: package-import@ubuntu.com-20150921213541-rh3tsf8k2g2n0fdr
Tags: 0.8.6-1
* New upstream version
  + replaces the expiration call mechanism and script with native
    implementation (closes: 794328)
* Changed error log rotation schedule to daily execution (to expire some
  cruft from ancient bugs sooner or later)
* removed urlencode-fixer.pl (should be obsolete now), expire-caller.pl
  (symlink to acngtool which emulates it)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/sh
 
2
set -x
 
3
: should work
 
4
wget -O response.txt --post-file=body.txt https://bugs.debian.org/cgi-bin/soap.cgi --header "Content-Type: text/xml; charset=utf-8"
 
5
: should fail
 
6
wget -O/dev/null --post-file=body.txt https://bugs.debian.org:80/cgi-bin/soap.cgi --header "Content-Type: text/xml; charset=utf-8" && exit 1 ||:
 
7