Skip to content

Commit

Permalink
Merge pull request #475 from klihub/fixes/e2e/unset-separated_output_…
Browse files Browse the repository at this point in the history
…vars

topology2qemuopts: interpret unset SEPARATED_OUTPUT_VARS as 0.
  • Loading branch information
fmuyassarov authored Mar 5, 2025
2 parents 38cf029 + 5b01825 commit 055ebb7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/e2e/lib/topology2qemuopts.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@
DEFAULT_DIST_SAME_DIE = 11
DEFAULT_DIST_SAME_NODE = 10

separated_output_vars = (os.environ['SEPARATED_OUTPUT_VARS'] == '1')
separated_output_vars = (os.getenv('SEPARATED_OUTPUT_VARS', 0) == '1')

def error(msg, exitstatus=1):
sys.stderr.write("topology2qemuopts: %s\n" % (msg,))
Expand Down

0 comments on commit 055ebb7

Please sign in to comment.