Merge pull request #943 from johnbieren/master

Change git -C reset to git reset
This commit is contained in:
Daniel, Dao Quang Minh 2016-07-26 15:40:16 +01:00 committed by GitHub
commit 5226749985
1 changed files with 4 additions and 1 deletions

View File

@ -73,7 +73,10 @@ function teardown() {
[ "$status" -eq 0 ]
SPEC_COMMIT=$(grep runtime-spec ${TESTDIR}/../../Godeps/Godeps.json -A 4 | grep Rev | cut -d":" -f 2 | tr -d ' "')
run git -C src/runtime-spec reset --hard "${SPEC_COMMIT}"
(
cd src/runtime-spec &&
run git reset --hard "${SPEC_COMMIT}"
)
[ "$status" -eq 0 ]
[ -e src/runtime-spec/schema/schema.json ]