diff options
author | Andrei Zeliankou <zelenkov@nginx.com> | 2020-05-15 04:21:25 +0100 |
---|---|---|
committer | Andrei Zeliankou <zelenkov@nginx.com> | 2020-05-15 04:21:25 +0100 |
commit | 82471c1dd33fc13a18a334113b2c220cc06f3d5b (patch) | |
tree | 8a2af0ab16a1a932b93e518e449545fe5e1d7604 /test/php | |
parent | ea841400f543fa4139adca926fefdd8565c227d2 (diff) | |
download | unit-82471c1dd33fc13a18a334113b2c220cc06f3d5b.tar.gz unit-82471c1dd33fc13a18a334113b2c220cc06f3d5b.tar.bz2 |
Tests: added tests for "targets" option.
Diffstat (limited to 'test/php')
-rw-r--r-- | test/php/targets/1.php | 4 | ||||
-rw-r--r-- | test/php/targets/2/2.php | 4 | ||||
-rw-r--r-- | test/php/targets/index.php | 4 |
3 files changed, 12 insertions, 0 deletions
diff --git a/test/php/targets/1.php b/test/php/targets/1.php new file mode 100644 index 00000000..09f7ae2c --- /dev/null +++ b/test/php/targets/1.php @@ -0,0 +1,4 @@ +<?php +header('Content-Length: 1'); +echo '1'; +?> diff --git a/test/php/targets/2/2.php b/test/php/targets/2/2.php new file mode 100644 index 00000000..0c5d27c6 --- /dev/null +++ b/test/php/targets/2/2.php @@ -0,0 +1,4 @@ +<?php +header('Content-Length: 1'); +echo '2'; +?> diff --git a/test/php/targets/index.php b/test/php/targets/index.php new file mode 100644 index 00000000..88239d5f --- /dev/null +++ b/test/php/targets/index.php @@ -0,0 +1,4 @@ +<?php +header('Content-Length: 5'); +echo 'index'; +?> |