summaryrefslogtreecommitdiff
path: root/src/hub/test-import
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2017-04-23 16:10:11 +0200
committerChristian Pointner <equinox@spreadspace.org>2017-04-23 16:10:11 +0200
commitdb2d54d210edc06a445fde0facb30d1f37576cf1 (patch)
tree48dcee59adf42485eb9b433eadeebf0f67333730 /src/hub/test-import
parentmoved client data to bolt db (diff)
revamp test scripts, simpified tag insertion
Diffstat (limited to 'src/hub/test-import')
-rwxr-xr-xsrc/hub/test-import6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/hub/test-import b/src/hub/test-import
index d1a5044..a6c2942 100755
--- a/src/hub/test-import
+++ b/src/hub/test-import
@@ -1,10 +1,12 @@
#!/bin/sh
+
+TEST_D="./test"
+
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
+socat file:../../dat/sample-accesslog.json,rdonly "unix-client:$TEST_D/pipe"
echo '\n\ndone'
-