summaryrefslogtreecommitdiff
path: root/src/hub/test-bolt
blob: 7ac3dd2497a87d2df2ce9adc1a9aa415913996db (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
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"