summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/poweroff.json1
-rwxr-xr-xtests/run-tests.sh1
2 files changed, 2 insertions, 0 deletions
diff --git a/tests/poweroff.json b/tests/poweroff.json
new file mode 100644
index 0000000..4667303
--- /dev/null
+++ b/tests/poweroff.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 27c7bc6..8736859 100755
--- a/tests/run-tests.sh
+++ b/tests/run-tests.sh
@@ -4,3 +4,4 @@ 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
curl -X POST http://127.0.0.1:8888/session -d @session.json
+curl -X POST http://127.0.0.1:8888/poweroff -d @poweroff.json