Change version parsing to support alternate runtimes

Signed-off-by: Carlos de Paula <me@carlosedp.com>
This commit is contained in:
Carlos de Paula
2019-09-16 21:13:01 -03:00
parent 92cc603036
commit 4ab1e808d1
2 changed files with 11 additions and 2 deletions

View File

@@ -80,6 +80,14 @@ spec: 1.0.0
`,
commit: "69663f0bd4b60df09991c08812a60108003fa340",
},
{
output: `
crun version 0.7
spec: 1.0.0
+SYSTEMD +SELINUX +CAP +SECCOMP +EBPF +YAJL
`,
version: "0.7",
},
{
output: "",
invalid: true,