Skip to content

kargs: do not set ARCH envvar in tests#1132

Merged
cgwalters merged 1 commit intobootc-dev:mainfrom
jeckersb:kargs-no-env
Feb 21, 2025
Merged

kargs: do not set ARCH envvar in tests#1132
cgwalters merged 1 commit intobootc-dev:mainfrom
jeckersb:kargs-no-env

Conversation

@jeckersb
Copy link
Collaborator

std::env::set_var is unsafe in 2024 edition, and upon looking into
that this use in the kargs test came up. We don't need to set the
environment variable here, in fact I don't think this ever worked in
the first place.

Signed-off-by: John Eckersberg jeckersb@redhat.com

std::env::set_var is unsafe in 2024 edition, and upon looking into
that this use in the kargs test came up.  We don't need to set the
environment variable here, in fact I don't think this ever worked in
the first place.

Signed-off-by: John Eckersberg <jeckersb@redhat.com>
@cgwalters cgwalters merged commit 00860d7 into bootc-dev:main Feb 21, 2025
21 of 23 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants