summaryrefslogtreecommitdiff
path: root/src/hub/test-import
blob: a6c29427a45320d1dffacaec321ac8596e0553af (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
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:$TEST_D/pipe"

echo '\n\ndone'