summaryrefslogtreecommitdiff
path: root/tests/slow-destroy.php
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2022-01-15 12:08:20 +0300
committerValery Piashchynski <[email protected]>2022-01-15 12:08:20 +0300
commit5254c8eb27311e2a8a53a4c90c3829cf1238c563 (patch)
treeb51c9a4c1dd4c25adc511498ce0380a7078c5572 /tests/slow-destroy.php
parent13609dd03dd0d2fa85b9fb850be787bf4e2ea67f (diff)
Repository content update
Signed-off-by: Valery Piashchynski <[email protected]>
Diffstat (limited to 'tests/slow-destroy.php')
-rw-r--r--tests/slow-destroy.php37
1 files changed, 0 insertions, 37 deletions
diff --git a/tests/slow-destroy.php b/tests/slow-destroy.php
deleted file mode 100644
index 2edbc0db..00000000
--- a/tests/slow-destroy.php
+++ /dev/null
@@ -1,37 +0,0 @@
-<?php
-
-use Spiral\Goridge;
-
-ini_set('display_errors', 'stderr');
-require __DIR__ . "/vendor/autoload.php";
-
-if (count($argv) < 3) {
- die("need 2 arguments");
-}
-
-list($test, $goridge) = [$argv[1], $argv[2]];
-
-switch ($goridge) {
- case "pipes":
- $relay = new Goridge\StreamRelay(STDIN, STDOUT);
- break;
-
- case "tcp":
- $relay = new Goridge\SocketRelay("127.0.0.1", 9007);
- break;
-
- case "unix":
- $relay = new Goridge\SocketRelay(
- "sock.unix",
- null,
- Goridge\SocketRelay::SOCK_UNIX
- );
- break;
-
- default:
- die("invalid protocol selection");
-}
-
-require_once sprintf("%s/%s.php", __DIR__, $test);
-
-sleep(10);