Skip to content

Commit

Permalink
chore: Show microcode version with tools/devtool test
Browse files Browse the repository at this point in the history
Several tests depend on not only the kernel version but also the
microcode version, which could be useful in troubleshooting issues.

Signed-off-by: Takahiro Itazuri <[email protected]>
  • Loading branch information
zulinx86 committed Sep 19, 2023
1 parent 8523e2a commit 1d3afa4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tools/devtool
Original file line number Diff line number Diff line change
Expand Up @@ -556,6 +556,9 @@ cmd_test() {

# If we got to here, we've got all we need to continue.
say "Kernel version: $(uname -r)"
if [ "$(uname --machine)" = "x86_64" ]; then
say "Microcode version: $(sudo cat /sys/devices/system/cpu/cpu0/microcode/version)"
fi
say "$(lscpu)"
say "Starting test run ..."

Expand Down

0 comments on commit 1d3afa4

Please sign in to comment.