-
Notifications
You must be signed in to change notification settings - Fork 668
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tests: fix hex to base-10 conversion in id-ctrl output
When doing bit checks on id-ctrl output fields we need to convert the field numbers to a base-10 integer. However, the json output mostly returns already base-10 integers, so we now first check for the '0x' prefix before falsely converting the desired value. Signed-off-by: Dennis Maisenbacher <[email protected]>
- Loading branch information
1 parent
2ed94bd
commit d746cd9
Showing
3 changed files
with
17 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters