From 38271a38bed9565427bcdc3c86198a9d3f9376ab Mon Sep 17 00:00:00 2001 From: Qiang Huang Date: Tue, 26 Apr 2016 15:59:00 +0800 Subject: [PATCH] Change specs to runtime-spec in integration test Signed-off-by: Qiang Huang --- tests/integration/spec.bats | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/integration/spec.bats b/tests/integration/spec.bats index d46963f8..8a8efac5 100644 --- a/tests/integration/spec.bats +++ b/tests/integration/spec.bats @@ -71,19 +71,19 @@ function teardown() { # note this test is brittle against specs changes that lead runc's spec command # todo get the validate program, gojsonschema, and schema/*s.json from godeps? - run git clone https://github.com/opencontainers/specs.git src/specs - [ -e src/specs/schema/schema.json ] + run git clone https://github.com/opencontainers/runtime-spec.git src/runtime-spec + [ -e src/runtime-spec/schema/schema.json ] run bash -c "GOPATH='$GOPATH' go get github.com/xeipuuv/gojsonschema" [ "$status" -eq 0 ] - GOPATH="$GOPATH" go build src/specs/schema/validate.go + GOPATH="$GOPATH" go build src/runtime-spec/schema/validate.go [ -e ./validate ] run "$RUNC" spec [ -e config.json ] - run ./validate src/specs/schema/schema.json config.json + run ./validate src/runtime-spec/schema/schema.json config.json [ "$status" -eq 0 ] [[ "${lines[0]}" == *"The document is valid"* ]] }