diff options
Diffstat (limited to 'openssl/test/testsslproxy')
-rw-r--r-- | openssl/test/testsslproxy | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/openssl/test/testsslproxy b/openssl/test/testsslproxy new file mode 100644 index 000000000..58bbda8ab --- /dev/null +++ b/openssl/test/testsslproxy @@ -0,0 +1,10 @@ +#! /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 + sh ./testssl $1 $2 $3 "-proxy -proxy_auth $auth -proxy_cond $cond" + if [ $? = 3 ]; then exit 1; fi + done +done |