Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions cmd/runtimetest/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -706,14 +706,17 @@ func run(context *cli.Context) error {
}
logrus.SetLevel(logLevel)

platform := runtime.GOOS
if platform != "linux" && platform != "solaris" && platform != "windows" {
return fmt.Errorf("runtime-tools has not implemented testing for your platform %q, because the spec has nothing to say about it", platform)
}

inputPath := context.String("path")
spec, err := loadSpecConfig(inputPath)
if err != nil {
return err
}

platform := runtime.GOOS

defaultValidations := []validation{
{
test: validateRootFS,
Expand Down