summaryrefslogtreecommitdiff
path: root/src/hub/test-client
diff options
context:
space:
mode:
Diffstat (limited to 'src/hub/test-client')
-rwxr-xr-xsrc/hub/test-client10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/hub/test-client b/src/hub/test-client
index c9d7b91..0696bc5 100755
--- a/src/hub/test-client
+++ b/src/hub/test-client
@@ -1,8 +1,12 @@
#!/bin/sh
echo import sample.json
-time socat file:../../dat/sample.json,rdonly unix-client:/run/sfive/pipe
-
+socat file:../../dat/sample.json,rdonly unix-client:/run/sfive/pipe
echo show query result
-wget -q -S -O - 'http://localhost:8000/updates?from=2013-10-24T05:00:00Z&to=2013-10-24T00:05:20Z
+wget -q -S -O - 'http://localhost:8000/updates?from=2013-10-24T05:00:00Z&to=2013-10-24T00:05:20Z'
+
+echo '\npost update'
+wget --post-file='../../dat/sample-post.json' 'http://localhost:8000/updates'
+
+echo '\ndone'