summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/post_shell_output.json1
-rwxr-xr-xtests/run-tests.sh1
2 files changed, 2 insertions, 0 deletions
diff --git a/tests/post_shell_output.json b/tests/post_shell_output.json
new file mode 100644
index 0000000..1badfed
--- /dev/null
+++ b/tests/post_shell_output.json
@@ -0,0 +1 @@
+{ "clients" : [ "192.168.2.1", "192.168.2.2" ]}
diff --git a/tests/run-tests.sh b/tests/run-tests.sh
index f9f49ba..b5239d5 100755
--- a/tests/run-tests.sh
+++ b/tests/run-tests.sh
@@ -2,3 +2,4 @@ curl -X POST http://127.0.0.1:8888/clients -d @post_clients.json
curl -X GET http://127.0.0.1:8888/clients
curl -X POST http://127.0.0.1:8888/wol -d @wol.json
curl -X POST http://127.0.0.1:8888/shell/run -d @post_shell_run.json
+curl -X POST http://127.0.0.1:8888/shell/output -d @post_shell_output.json