summaryrefslogtreecommitdiff
path: root/src/hub/test-import
diff options
context:
space:
mode:
Diffstat (limited to 'src/hub/test-import')
-rwxr-xr-xsrc/hub/test-import10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/hub/test-import b/src/hub/test-import
new file mode 100755
index 0000000..d1a5044
--- /dev/null
+++ b/src/hub/test-import
@@ -0,0 +1,10 @@
+#!/bin/sh
+echo pipe: import sample.json
+echo ------------------------
+
+[ -f ../../dat/sample-access.json ] || zcat ../../dat/sample-accesslog.json.gz > ../../dat/sample-accesslog.json
+
+socat file:../../dat/sample-accesslog.json,rdonly unix-client:/run/sfive/pipe
+
+echo '\n\ndone'
+