summaryrefslogtreecommitdiff
path: root/src/hub/test-import
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2017-05-06 02:30:32 +0200
committerChristian Pointner <equinox@spreadspace.org>2017-05-06 02:30:32 +0200
commit24ffb0a92710acf49119378486409ca3c13ea8de (patch)
tree8c845dc638c7ea2c9c55e579101c24a089aff359 /src/hub/test-import
parentfix last commit (diff)
parenthandling for forwarder hubs works now (diff)
Merge branch 'bolt'
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'
-