Update spec config path

Tracks schema/schema.json → schema/config-schema.json rename in
https://github.com/opencontainers/runtime-spec/pull/481/commits/59ede1a6ac23ed10d6b644afc1e8cb45a57aa62e

Signed-off-by: Adam Thomason <ad@mthomason.net>
This commit is contained in:
Adam Thomason
2016-09-11 16:48:12 -07:00
parent 83cbdbd64c
commit 98727fbb63
+2 -2
View File
@@ -78,7 +78,7 @@ function teardown() {
run git reset --hard "${SPEC_COMMIT}"
)
[ "$status" -eq 0 ]
[ -e src/runtime-spec/schema/schema.json ]
[ -e src/runtime-spec/schema/config-schema.json ]
run bash -c "GOPATH='$GOPATH' go get github.com/xeipuuv/gojsonschema"
[ "$status" -eq 0 ]
@@ -89,7 +89,7 @@ function teardown() {
runc spec
[ -e config.json ]
run ./validate src/runtime-spec/schema/schema.json config.json
run ./validate src/runtime-spec/schema/config-schema.json config.json
[ "$status" -eq 0 ]
[[ "${lines[0]}" == *"The document is valid"* ]]
}