testsslproxy 291 字节
Newer Older
1 2 3 4 5 6
#! /bin/sh

echo 'Testing a lot of proxy conditions.'
echo 'Some of them may turn out being invalid, which is fine.'
for auth in A B C BC; do
    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 10
    done
done