xref: /minix3/crypto/external/bsd/openssl/dist/test/testsslproxy (revision ebfedea0ce5bbe81e252ddf32d732e40fb633fae)
1*ebfedea0SLionel Sambuc#! /bin/sh
2*ebfedea0SLionel Sambuc
3*ebfedea0SLionel Sambucecho 'Testing a lot of proxy conditions.'
4*ebfedea0SLionel Sambucecho 'Some of them may turn out being invalid, which is fine.'
5*ebfedea0SLionel Sambucfor auth in A B C BC; do
6*ebfedea0SLionel Sambuc    for cond in A B C 'A|B&!C'; do
7*ebfedea0SLionel Sambuc	sh ./testssl $1 $2 $3 "-proxy -proxy_auth $auth -proxy_cond $cond"
8*ebfedea0SLionel Sambuc	if [ $? = 3 ]; then exit 1; fi
9*ebfedea0SLionel Sambuc    done
10*ebfedea0SLionel Sambucdone
11