Skip to content

Commit

Permalink
fix(test): Remove unnecessary sudo
Browse files Browse the repository at this point in the history
PR firecracker-microvm#4115 added it to show the microcode version on x86, but it is not
necessary.

Signed-off-by: Takahiro Itazuri <[email protected]>
  • Loading branch information
zulinx86 committed Sep 20, 2023
1 parent a8deede commit 4142f26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/devtool
Original file line number Diff line number Diff line change
Expand Up @@ -562,7 +562,7 @@ 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)"
say "Microcode version: $(cat /sys/devices/system/cpu/cpu0/microcode/version)"
fi
say "$(lscpu)"
say "Starting test run ..."
Expand Down

0 comments on commit 4142f26

Please sign in to comment.