Steve Kamerman 8 年之前
父节点
当前提交
c219822cd8
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. 1 1
      generate-dhparam.sh
  2. 1 1
      test/ssl_dhparam.bats

+ 1 - 1
generate-dhparam.sh

@@ -23,7 +23,7 @@ if [[ -f $DHPARAM_FILE ]]; then
 fi
 fi
 
 
 cat >&2 <<-EOT
 cat >&2 <<-EOT
-WARNING: $DHPARAM_FILE was not found. A pregenerated dhparam.pem will be used for now while a new one
+WARNING: $DHPARAM_FILE was not found. A pre-generated dhparam.pem will be used for now while a new one
 is being generated in the background.  Once the new dhparam.pem is in place, nginx will be reloaded.
 is being generated in the background.  Once the new dhparam.pem is in place, nginx will be reloaded.
 EOT
 EOT
 
 

+ 1 - 1
test/ssl_dhparam.bats

@@ -7,7 +7,7 @@ function setup {
 	stop_bats_containers web
 	stop_bats_containers web
 }
 }
 
 
-@test "[$TEST_FILE] test dhparam.pem is generated if missing (WARNING: this test is slow!):" {
+@test "[$TEST_FILE] test dhparam.pem is generated if missing (WARNING: this test is slow)" {
 	SUT_CONTAINER=bats-nginx-proxy-${TEST_FILE}-1
 	SUT_CONTAINER=bats-nginx-proxy-${TEST_FILE}-1
 
 
 	# WHEN
 	# WHEN