From 3759df801089973edb1116df69f310aaa2d703dc Mon Sep 17 00:00:00 2001 From: Valery Piashchynski Date: Thu, 5 Nov 2020 16:53:51 +0300 Subject: Add App tests --- plugins/app/tests/tcp.php | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 plugins/app/tests/tcp.php (limited to 'plugins/app/tests/tcp.php') diff --git a/plugins/app/tests/tcp.php b/plugins/app/tests/tcp.php new file mode 100644 index 00000000..2d6fb00a --- /dev/null +++ b/plugins/app/tests/tcp.php @@ -0,0 +1,20 @@ +receive($ctx)) { + try { + $rr->send((string)$in); + } catch (\Throwable $e) { + $rr->error((string)$e); + } +} \ No newline at end of file -- cgit v1.2.3