1
0

test: update wildcard location enumeration test

This commit is contained in:
Nicolas Duchon 2023-12-08 02:20:51 +01:00
parent 97b25e7974
commit 2be93248eb
No known key found for this signature in database
GPG Key ID: EA3151C66A4D79E7
2 changed files with 6 additions and 4 deletions

@ -1,7 +1,9 @@
*.bar.baz.example.com *.bar.baz.com.example.com
*.baz.example.com *.baz.com.example.com
*.com.example.com
*.example.com *.example.com
foo.bar.baz.example.* foo.bar.baz.com.example.*
foo.bar.baz.com.*
foo.bar.baz.* foo.bar.baz.*
foo.bar.* foo.bar.*
foo.* foo.*

@ -54,7 +54,7 @@ function check_location {
} }
# check the wildcard location enumeration function # check the wildcard location enumeration function
docker exec "$le_container_name" bash -c 'source /app/functions.sh; enumerate_wildcard_locations foo.bar.baz.example.com' docker exec "$le_container_name" bash -c 'source /app/functions.sh; enumerate_wildcard_locations foo.bar.baz.com.example.com'
# default configuration file should be empty # default configuration file should be empty
config_path="$vhost_path/default" config_path="$vhost_path/default"