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-bolt | |
parent | moved client data to bolt db (diff) |
revamp test scripts, simpified tag insertion
Diffstat (limited to 'src/hub/test-bolt')
-rwxr-xr-x | src/hub/test-bolt | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/hub/test-bolt b/src/hub/test-bolt new file mode 100755 index 0000000..7ac3dd2 --- /dev/null +++ b/src/hub/test-bolt @@ -0,0 +1,14 @@ +#!/bin/sh + +TEST_D="./test" + +BIN="$(go env GOPATH)/bin/bolt" +if [ ! -x "$BIN" ]; then + echo "bolt not found. Please run:" + echo "" + echo " go get -u github.com/boltdb/bolt/..." + echo "" + exit 1 +fi + +exec "$(go env GOPATH)/bin/bolt" $@ "$TEST_D/db.bolt" |