Skip to content

Commit

Permalink
Merge pull request avocado-framework#5940 from wangp-h/master
Browse files Browse the repository at this point in the history
Signed-off-by: Jan Richter <[email protected]>
  • Loading branch information
richtja authored May 31, 2024
2 parents 60b0ffc + 4df5237 commit 69d34a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion avocado/utils/cpu.py
Original file line number Diff line number Diff line change
Expand Up @@ -631,7 +631,7 @@ def lscpu():
:physical chips:
:chips: physical sockets * physical chips
"""
output = process.run("lscpu")
output = process.run("LANG=en_US.UTF-8;lscpu", shell=True)
res = {}
for line in output.stdout.decode("utf-8").split("\n"):
if "Physical cores/chip:" in line:
Expand Down

0 comments on commit 69d34a9

Please sign in to comment.