diff options
author | Valery Piashchynski <[email protected]> | 2020-11-05 16:53:51 +0300 |
---|---|---|
committer | Valery Piashchynski <[email protected]> | 2020-11-05 16:53:51 +0300 |
commit | 3759df801089973edb1116df69f310aaa2d703dc (patch) | |
tree | 7ca719e281698982181d466cb6fc4f0a0c3f18b2 /plugins/app/tests/configs | |
parent | bca69d968ef76a6260956bc169cb07996fbb7724 (diff) |
Add App tests
Diffstat (limited to 'plugins/app/tests/configs')
-rw-r--r-- | plugins/app/tests/configs/.rr-no-app-section.yaml | 9 | ||||
-rw-r--r-- | plugins/app/tests/configs/.rr-sockets.yaml | 9 | ||||
-rw-r--r-- | plugins/app/tests/configs/.rr-tcp.yaml | 9 | ||||
-rw-r--r-- | plugins/app/tests/configs/.rr-wrong-command.yaml | 9 | ||||
-rw-r--r-- | plugins/app/tests/configs/.rr-wrong-relay.yaml | 9 | ||||
-rw-r--r-- | plugins/app/tests/configs/.rr.yaml | 9 |
6 files changed, 54 insertions, 0 deletions
diff --git a/plugins/app/tests/configs/.rr-no-app-section.yaml b/plugins/app/tests/configs/.rr-no-app-section.yaml new file mode 100644 index 00000000..d129ae8a --- /dev/null +++ b/plugins/app/tests/configs/.rr-no-app-section.yaml @@ -0,0 +1,9 @@ +upp: + command: "php ../../../tests/client.php echo pipes" + user: "" + group: "" + env: + "RR_CONFIG": "/some/place/on/the/C134" + "RR_CONFIG2": "C138" + relay: "pipes" + relayTimeout: "20s"
\ No newline at end of file diff --git a/plugins/app/tests/configs/.rr-sockets.yaml b/plugins/app/tests/configs/.rr-sockets.yaml new file mode 100644 index 00000000..9bd62693 --- /dev/null +++ b/plugins/app/tests/configs/.rr-sockets.yaml @@ -0,0 +1,9 @@ +app: + command: "php socket.php" + user: "" + group: "" + env: + "RR_CONFIG": "/some/place/on/the/C134" + "RR_CONFIG2": "C138" + relay: "unix://unix.sock" + relayTimeout: "20s"
\ No newline at end of file diff --git a/plugins/app/tests/configs/.rr-tcp.yaml b/plugins/app/tests/configs/.rr-tcp.yaml new file mode 100644 index 00000000..c5a26d37 --- /dev/null +++ b/plugins/app/tests/configs/.rr-tcp.yaml @@ -0,0 +1,9 @@ +app: + command: "php tcp.php" + user: "" + group: "" + env: + "RR_CONFIG": "/some/place/on/the/C134" + "RR_CONFIG2": "C138" + relay: "tcp://localhost:9999" + relayTimeout: "20s"
\ No newline at end of file diff --git a/plugins/app/tests/configs/.rr-wrong-command.yaml b/plugins/app/tests/configs/.rr-wrong-command.yaml new file mode 100644 index 00000000..4bd019d3 --- /dev/null +++ b/plugins/app/tests/configs/.rr-wrong-command.yaml @@ -0,0 +1,9 @@ +app: + command: "php some_absent_file.php" + user: "" + group: "" + env: + "RR_CONFIG": "/some/place/on/the/C134" + "RR_CONFIG2": "C138" + relay: "pipes" + relayTimeout: "20s" diff --git a/plugins/app/tests/configs/.rr-wrong-relay.yaml b/plugins/app/tests/configs/.rr-wrong-relay.yaml new file mode 100644 index 00000000..d8ffe8f8 --- /dev/null +++ b/plugins/app/tests/configs/.rr-wrong-relay.yaml @@ -0,0 +1,9 @@ +app: + command: "php ../../../tests/client.php echo pipes" + user: "" + group: "" + env: + "RR_CONFIG": "/some/place/on/the/C134" + "RR_CONFIG2": "C138" + relay: "pupes" + relayTimeout: "20s"
\ No newline at end of file diff --git a/plugins/app/tests/configs/.rr.yaml b/plugins/app/tests/configs/.rr.yaml new file mode 100644 index 00000000..221aff92 --- /dev/null +++ b/plugins/app/tests/configs/.rr.yaml @@ -0,0 +1,9 @@ +app: + command: "php ../../../tests/client.php echo pipes" + user: "" + group: "" + env: + "RR_CONFIG": "/some/place/on/the/C134" + "RR_CONFIG2": "C138" + relay: "pipes" + relayTimeout: "20s"
\ No newline at end of file |