xref: /openbsd-src/lib/libssl/test/testsslproxy (revision de8cc8edbc71bd3e3bc7fbffa27ba0e564c37d8b)
1#! /bin/sh
2
3echo 'Testing a lot of proxy conditions.'
4echo 'Some of them may turn out being invalid, which is fine.'
5for auth in A B C BC; do
6    for cond in A B C 'A|B&!C'; do
7	sh ./testssl $1 $2 $3 "-proxy -proxy_auth $auth -proxy_cond $cond"
8	if [ $? = 3 ]; then exit 1; fi
9    done
10done
11