From 90423a0dc3fb65d6686041c9e5473f93a0b33b03 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Thu, 11 May 2017 01:57:53 -0700 Subject: [PATCH] schema/test/config/good/minimal: Drop 'process' It's optional since c41ea83d (config: Make process optional, 2017-02-27, #701) which landed yesterday. Mrunal wanted to continue testing a config which has enough for a 'start' invocation [1], so I've kept the old JSON as minimal-for-start.json (washing it through 'make -C schema fmt' to adjust the args indenting). [1]: https://github.com/opencontainers/runtime-spec/pull/805#issuecomment-300811461 Signed-off-by: W. Trevor King --- .../test/config/good/minimal-for-start.json | 20 +++++++++++++++++++ schema/test/config/good/minimal.json | 8 -------- 2 files changed, 20 insertions(+), 8 deletions(-) create mode 100644 schema/test/config/good/minimal-for-start.json diff --git a/schema/test/config/good/minimal-for-start.json b/schema/test/config/good/minimal-for-start.json new file mode 100644 index 000000000..09379d1e9 --- /dev/null +++ b/schema/test/config/good/minimal-for-start.json @@ -0,0 +1,20 @@ +{ + "ociVersion": "1.0.0", + "platform": { + "os": "linux", + "arch": "amd64" + }, + "root": { + "path": "rootfs" + }, + "process": { + "cwd": "/", + "args": [ + "sh" + ], + "user": { + "uid": 0, + "gid": 0 + } + } +} diff --git a/schema/test/config/good/minimal.json b/schema/test/config/good/minimal.json index 4d8f177a3..b1f4f2f33 100644 --- a/schema/test/config/good/minimal.json +++ b/schema/test/config/good/minimal.json @@ -6,13 +6,5 @@ }, "root": { "path": "rootfs" - }, - "process": { - "cwd": "/", - "args": ["sh"], - "user": { - "uid": 0, - "gid": 0 - } } }