diff options
author | Christian Pointner <equinox@spreadspace.org> | 2017-04-23 16:10:11 +0200 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2017-04-23 16:10:11 +0200 |
commit | db2d54d210edc06a445fde0facb30d1f37576cf1 (patch) | |
tree | 48dcee59adf42485eb9b433eadeebf0f67333730 /src/hub/test-import | |
parent | moved client data to bolt db (diff) |
revamp test scripts, simpified tag insertion
Diffstat (limited to 'src/hub/test-import')
-rwxr-xr-x | src/hub/test-import | 6 |
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' - |