summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2019-07-29 21:12:47 (EDT)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2019-07-29 21:12:47 (EDT)
commita060eceac0038e0783ec0237b60a9a1d3d2e2b60 (patch)
tree03024df73ca66f4456bb88ff89800b03966e9572 /tests
parent24529105db4a1b81796412067f138252fd48fb26 (diff)
tests/badssl.sh: Add "not " to test descriptions
Diffstat (limited to 'tests')
-rwxr-xr-xtests/badssl.sh37
1 files changed, 19 insertions, 18 deletions
diff --git a/tests/badssl.sh b/tests/badssl.sh
index 213f876..f1c72df 100755
--- a/tests/badssl.sh
+++ b/tests/badssl.sh
@@ -28,7 +28,8 @@ do_test()
local port="${3}"
shift 3
- command_ok_ "${host}" -- ${ok} "${TOP_BUILDDIR}/wolfssl-util" s_client \
+ command_ok_ "${ok} ${host}" -- \
+ ${ok} "${TOP_BUILDDIR}/wolfssl-util" s_client \
-connect "${host}.badssl.com:${port}" \
-servername "${host}.badssl.com" \
<<-EOF
@@ -53,21 +54,21 @@ do_test 'not' 'no-subject' 443 # TODO: Should this pass?
do_test 'not' 'incomplete-chain' 443
do_test 'not' 'sha1-intermediate' 443
-do_test '' 'sha256' 443
-do_test '' 'sha384' 443
-do_test '' 'sha512' 443
+do_test ' ' 'sha256' 443
+do_test ' ' 'sha384' 443
+do_test ' ' 'sha512' 443
-do_test '' '1000-sans' 443
-do_test '' '10000-sans' 443
+do_test ' ' '1000-sans' 443
+do_test ' ' '10000-sans' 443
-do_test '' 'ecc256' 443
-do_test '' 'ecc384' 443
+do_test ' ' 'ecc256' 443
+do_test ' ' 'ecc384' 443
-do_test '' 'rsa2048' 443
-do_test '' 'rsa4096' 443
-do_test '' 'rsa8192' 443
+do_test ' ' 'rsa2048' 443
+do_test ' ' 'rsa4096' 443
+do_test ' ' 'rsa8192' 443
-do_test '' 'extended-validation' 443
+do_test ' ' 'extended-validation' 443
# HTTP
@@ -75,7 +76,7 @@ do_test 'not' 'http' 80
# Cipher Suite
-do_test '' 'cbc' 443
+do_test ' ' 'cbc' 443
do_test 'not' 'rc4-md5' 443
do_test 'not' 'rc4' 443
do_test 'not' '3des' 443
@@ -89,8 +90,8 @@ do_test 'not' 'mozilla-modern' 443
do_test 'not' 'dh480' 443
do_test 'not' 'dh512' 443
-do_test '' 'dh1024' 443
-do_test '' 'dh2048' 443
+do_test ' ' 'dh1024' 443
+do_test ' ' 'dh2048' 443
do_test 'not' 'dh-small-subgroup' 443
do_test 'not' 'dh-compsite' 443
@@ -101,6 +102,6 @@ do_test 'not' 'invalid-expected-sct' 443
# Protocol
-do_test '' 'tls-v1-0' 1010
-do_test '' 'tls-v1-1' 1011
-do_test '' 'tls-v1-2' 1012
+do_test ' ' 'tls-v1-0' 1010
+do_test ' ' 'tls-v1-1' 1011
+do_test ' ' 'tls-v1-2' 1012