Skip to content

Commit

Permalink
test: update wildcard location enumeration test
Browse files Browse the repository at this point in the history
  • Loading branch information
buchdag committed Dec 10, 2023
1 parent 97b25e7 commit 2be9324
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
8 changes: 5 additions & 3 deletions test/tests/location_config/expected-std-out.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
*.bar.baz.example.com
*.baz.example.com
*.bar.baz.com.example.com
*.baz.com.example.com
*.com.example.com
*.example.com
foo.bar.baz.example.*
foo.bar.baz.com.example.*
foo.bar.baz.com.*
foo.bar.baz.*
foo.bar.*
foo.*
2 changes: 1 addition & 1 deletion test/tests/location_config/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ function check_location {
}

# 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
config_path="$vhost_path/default"
Expand Down

0 comments on commit 2be9324

Please sign in to comment.