summaryrefslogtreecommitdiff
path: root/tests/suite/testsrn
diff options
context:
space:
mode:
Diffstat (limited to 'tests/suite/testsrn')
-rwxr-xr-xtests/suite/testsrn26
1 files changed, 13 insertions, 13 deletions
diff --git a/tests/suite/testsrn b/tests/suite/testsrn
index 68993b5d78..f11a89af3d 100755
--- a/tests/suite/testsrn
+++ b/tests/suite/testsrn
@@ -39,19 +39,19 @@ PID=$!
wait_server $PID
$CLI -p $PORT 127.0.0.1 --rehandshake --priority NONE:+AES-128-CBC:+MD5:+SHA1:+VERS-SSL3.0:+ANON-DH:+COMP-NULL:%SAFE_RENEGOTIATION </dev/null >/dev/null 2>&1 || \
- fail "0. Renegotiation should have succeeded!"
+ fail $PID "0. Renegotiation should have succeeded!"
$CLI -p $PORT 127.0.0.1 --rehandshake --priority NORMAL:+ANON-DH:%SAFE_RENEGOTIATION </dev/null >/dev/null 2>&1 || \
- fail "1. Safe rehandshake should have succeeded!"
+ fail $PID "1. Safe rehandshake should have succeeded!"
$CLI -p $PORT 127.0.0.1 --rehandshake --priority NORMAL:+ANON-DH:%UNSAFE_RENEGOTIATION </dev/null >/dev/null 2>&1 || \
- fail "2. Unsafe rehandshake should have succeeded!"
+ fail $PID "2. Unsafe rehandshake should have succeeded!"
$CLI -p $PORT 127.0.0.1 --priority NORMAL:+ANON-DH:%DISABLE_SAFE_RENEGOTIATION </dev/null >/dev/null 2>&1 || \
- fail "3. Unsafe negotiation should have succeeded!"
+ fail $PID "3. Unsafe negotiation should have succeeded!"
$CLI -p $PORT 127.0.0.1 --rehandshake --priority NORMAL:+ANON-DH:%DISABLE_SAFE_RENEGOTIATION </dev/null >/dev/null 2>&1 && \
- fail "4. Unsafe renegotiation should have failed!"
+ fail $PID "4. Unsafe renegotiation should have failed!"
kill $PID
@@ -62,16 +62,16 @@ PID=$!
wait_server $PID
$CLI -p $PORT 127.0.0.1 --rehandshake --priority NORMAL:+ANON-DH:%SAFE_RENEGOTIATION </dev/null >/dev/null 2>&1 || \
- fail "5. Safe rehandshake should have succeeded!"
+ fail $PID "5. Safe rehandshake should have succeeded!"
$CLI -p $PORT 127.0.0.1 --rehandshake --priority NORMAL:+ANON-DH:%UNSAFE_RENEGOTIATION </dev/null >/dev/null 2>&1 || \
- fail "6. Unsafe rehandshake should have succeeded!"
+ fail $PID "6. Unsafe rehandshake should have succeeded!"
$CLI -p $PORT 127.0.0.1 --priority NORMAL:+ANON-DH:%DISABLE_SAFE_RENEGOTIATION </dev/null >/dev/null 2>&1 && \
- fail "7. Unsafe negotiation should have failed!"
+ fail $PID "7. Unsafe negotiation should have failed!"
$CLI -p $PORT 127.0.0.1 --rehandshake --priority NORMAL:+ANON-DH:%DISABLE_SAFE_RENEGOTIATION </dev/null >/dev/null 2>&1 && \
- fail "8. Unsafe renegotiation should have failed!"
+ fail $PID "8. Unsafe renegotiation should have failed!"
kill $PID
wait
@@ -81,16 +81,16 @@ PID=$!
wait_server $PID
$CLI -p $PORT 127.0.0.1 --priority NORMAL:+ANON-DH:%SAFE_RENEGOTIATION </dev/null >/dev/null 2>&1 && \
- fail "9. Initial connection should have failed!"
+ fail $PID "9. Initial connection should have failed!"
$CLI -p $PORT 127.0.0.1 --priority NORMAL:+ANON-DH:%UNSAFE_RENEGOTIATION </dev/null >/dev/null 2>&1 || \
- fail "10. Unsafe connection should have succeeded!"
+ fail $PID "10. Unsafe connection should have succeeded!"
$CLI -p $PORT 127.0.0.1 --priority NORMAL:+ANON-DH:%DISABLE_SAFE_RENEGOTIATION </dev/null >/dev/null 2>&1 || \
- fail "11. Unsafe negotiation should have succeeded!"
+ fail $PID "11. Unsafe negotiation should have succeeded!"
$CLI -p $PORT 127.0.0.1 --rehandshake --priority NORMAL:+ANON-DH:%DISABLE_SAFE_RENEGOTIATION </dev/null >/dev/null 2>&1 || \
- fail "12. Unsafe renegotiation should have succeeded!"
+ fail $PID "12. Unsafe renegotiation should have succeeded!"
kill $PID
wait