File tree Expand file tree Collapse file tree 3 files changed +12
-3
lines changed
Expand file tree Collapse file tree 3 files changed +12
-3
lines changed Original file line number Diff line number Diff line change @@ -149,7 +149,7 @@ Install the Gem dependencies.
149149
150150Run the ERB unit tests.
151151```
152- (cd src && bundle exec rspec ../spec)
152+ scripts/test-unit-erb
153153```
154154
155155### Acceptance Tests (BATs)
Original file line number Diff line number Diff line change @@ -14,11 +14,11 @@ script_dir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
1414# BOSH_BINARY_PATH
1515
1616
17- cd src/go
17+ cd " ${script_dir} /../ src/go" || exit 1
1818export GOPATH=$( pwd)
1919export PATH=" ${GOPATH} /bin" :$PATH
2020
21- cd src/github.com/cloudfoundry/bosh-release-acceptance-tests
21+ cd src/github.com/cloudfoundry/bosh-release-acceptance-tests || exit 1
2222
2323if [[ -n " ${FOCUS_SPEC+x} " ]]; then
2424 go run github.com/onsi/ginkgo/ginkgo -r -v -race -randomizeSuites -randomizeAllSpecs -focus=" ${FOCUS_SPEC} " -nodes 5 brats
Original file line number Diff line number Diff line change 1+ #! /usr/bin/env bash
2+
3+ set -e
4+
5+ script_dir=" $( cd " $( dirname " ${BASH_SOURCE[0]} " ) " && pwd ) "
6+
7+ cd " ${script_dir} /../src" || exit 1
8+
9+ bundle exec rspec ../spec
You can’t perform that action at this time.
0 commit comments