mirror of
https://github.com/opencontainers/runc.git
synced 2026-07-11 06:03:57 +08:00
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:
@@ -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"* ]]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user