diff options
author | Markus Grüneis <gimpf@gimpf.org> | 2014-10-22 22:58:21 +0200 |
---|---|---|
committer | Markus Grüneis <gimpf@gimpf.org> | 2014-10-22 22:58:57 +0200 |
commit | 08d29755d741920e71ef347e2fa3d5fdee0fd2b2 (patch) | |
tree | 8555e95b9ca2a2445b5a271efaf2e6e0a0eb369d /src/hub/test-client | |
parent | hub: add stub for forwarding (diff) |
hub: add support for datagram unix-sockets
Diffstat (limited to 'src/hub/test-client')
-rwxr-xr-x | src/hub/test-client | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/hub/test-client b/src/hub/test-client index 0696bc5..a26ce75 100755 --- a/src/hub/test-client +++ b/src/hub/test-client @@ -1,7 +1,10 @@ #!/bin/sh -echo import sample.json +echo pipe: import sample.json socat file:../../dat/sample.json,rdonly unix-client:/run/sfive/pipe +echo pipe-gram: import sample-gram.json +while read x; do echo "$x" | socat stdio unix-sendto:/run/sfive/pipegram; done < ../../dat/sample-gram.json + echo show query result wget -q -S -O - 'http://localhost:8000/updates?from=2013-10-24T05:00:00Z&to=2013-10-24T00:05:20Z' |