Skip to content

[sonic-bootchart] add sonic-bootchart #53

Closed
stepanblyschak wants to merge 6 commits intomasterfrom
sboot
Closed

[sonic-bootchart] add sonic-bootchart #53
stepanblyschak wants to merge 6 commits intomasterfrom
sboot

Conversation

@stepanblyschak
Copy link
Copy Markdown
Owner

What I did

How I did it

How to verify it

Previous command output (if the output of a command-line utility has changed)

New command output (if the output of a command-line utility has changed)



@cli.command()
@click.option('--time', type=int, required=True)
Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[0, +inf]


@cli.command()
@click.option('--time', type=int, required=True)
@click.option('--frequency', type=int, required=True)
Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Check range

assert result.output == \
"Status Operational Status Frequency Time (sec) Output\n" \
"-------- -------------------- ----------- ------------ ------------------------------------\n" \
"enabled enabled 25 20 /run/log/bootchart-20220504-1040.svg\n" \
Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

second column enabled -> active

Signed-off-by: Stepan Blyschak <[email protected]>
Signed-off-by: Stepan Blyschak <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant