Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Fsas Si-R show system information template #1956

Merged

Conversation

caribouHY
Copy link
Contributor

No description provided.

Comment on lines 4 to 5
Value FIRMWARE (firmware\d)
Value CONFIG_FILE (config\d)
Copy link
Contributor

Choose a reason for hiding this comment

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

I'm on the fence whether it's better to just match these two with a simpler regex.

Which way do you lean on the topic?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I think that FIRMWARE and CONFIG name may change in the future.
I fixed the regex.

Value FIRMWARE (\S+)
Value CONFIG_FILE (\S+)

Comment on lines +26 to +27
^USB\d?\s+:\s+.+$$
^WWAN\d?\s+.+$$
Copy link
Contributor

@mjbear mjbear Jan 1, 2025

Choose a reason for hiding this comment

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

@caribouHY
Do you have test output that covers USB (and WWAN) followed by a number?

The question and goal is to have good test coverage. Thank you!

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I added a test case from command reference. I don't hava a device supported Wireless WAN and multiple USB ports.

Copy link
Contributor

Choose a reason for hiding this comment

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

I added a test case from command reference. I don't hava a device supported Wireless WAN and multiple USB ports.

Understood.
I'd say that's reasonable. Thank you.

Copy link
Contributor

@jmcgill298 jmcgill298 left a comment

Choose a reason for hiding this comment

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

Thanks @caribouHY , just a couple of minor updates

@jmcgill298 jmcgill298 merged commit 42900c0 into networktocode:master Jan 8, 2025
10 checks passed
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.

3 participants