diff options
author | Omar Polo <op@omarpolo.com> | 2021-02-06 18:28:43 +0000 |
---|---|---|
committer | Omar Polo <op@omarpolo.com> | 2021-02-06 18:28:43 +0000 |
commit | e3ddf390950bf51d0c6c9cc6b931879006936e4c (patch) | |
tree | b5c8af6e5209006b99b4a65f222bbf169483c57e /regress/runtime | |
parent | afc025ff600c11e5cbe8794b944b560492290cce (diff) |
add the ``entrypoint'' option
Diffstat (limited to 'regress/runtime')
-rwxr-xr-x | regress/runtime | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/regress/runtime b/regress/runtime index 4d53f1c..9492b1d 100755 --- a/regress/runtime +++ b/regress/runtime @@ -255,4 +255,14 @@ echo OK GET /bigfile with strip and block check "should be running" +# test the entrypoint + +config '' 'entrypoint "/env"' +checkconf +restart + +eq "$(head /foo/bar)" "20 text/plain; lang=en" "Unknown head for /foo/bar" +eq "$(get /foo/bar|grep PATH_INFO)" "PATH_INFO=/foo/bar" "Unexpected PATH_INFO" +echo OK GET /foo/bar with entrypoint + quit |