Skip to content

Commit 4057aaf

Browse files
committed
cmd/runtimetest: Add an app description
As I recommended earlier in the context of checking for all configured devices [1]. An example would be: { ... "linux": { "devices": [ { "path": "/dev/fuse", ... } ], }, "hooks": { "prestart": [ { "path": "/bin/rm", "args": ["rm", "/dev/fuse"] } } } } where the resulting container (when created by a conformant runtime) would not have the /dev/fuse entry runtimetest's linux.devices check is looking for. [1]: #211 (comment) Signed-off-by: W. Trevor King <[email protected]>
1 parent 6c78c44 commit 4057aaf

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cmd/runtimetest/main.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -597,6 +597,7 @@ func main() {
597597
app.Name = "runtimetest"
598598
app.Version = "0.0.1"
599599
app.Usage = "Compare the environment with an OCI configuration"
600+
app.Description = "runtimetest compares its current environment with an OCI runtime configuration read from config.json in its current working directory. The tests are fairly generic and cover most configurations used by the runtime validation suite, but there are corner cases where a container launched by a valid runtime would not satisfy runtimetest."
600601
app.UsageText = "runtimetest [options]"
601602
app.Flags = []cli.Flag{
602603
cli.StringFlag{

0 commit comments

Comments
 (0)