tests/soap/tryssl.sh
raw| 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 |