mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 06:12:51 +00:00
[PR #11741/e59888dd backport][stable-12] Ensure standard locale in run_command (group3-batch3) (#11756)
Ensure standard locale in run_command (group3-batch3) (#11741)
* run_command locale group3 batch3: normalise to LANGUAGE=C, LC_ALL=C
* fix changelog fragment: bugfixes, American English, separate code spans
* fix changelog fragment: correct PR number (11741)
---------
(cherry picked from commit e59888dd7e)
Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -449,7 +449,7 @@ TEST_CASES = [
|
||||
(
|
||||
[
|
||||
"subscription-manager list --available",
|
||||
{"check_rc": True, "environ_update": {"LANG": "C", "LC_ALL": "C", "LC_MESSAGES": "C"}},
|
||||
{"check_rc": True, "environ_update": {"LANGUAGE": "C", "LC_ALL": "C"}},
|
||||
(
|
||||
0,
|
||||
"""
|
||||
@@ -559,7 +559,7 @@ Entitlement Type: Physical
|
||||
(
|
||||
[
|
||||
"subscription-manager list --available",
|
||||
{"check_rc": True, "environ_update": {"LANG": "C", "LC_ALL": "C", "LC_MESSAGES": "C"}},
|
||||
{"check_rc": True, "environ_update": {"LANGUAGE": "C", "LC_ALL": "C"}},
|
||||
(
|
||||
0,
|
||||
"""
|
||||
@@ -655,7 +655,7 @@ Entitlement Type: Physical
|
||||
(
|
||||
[
|
||||
"subscription-manager list --available",
|
||||
{"check_rc": True, "environ_update": {"LANG": "C", "LC_ALL": "C", "LC_MESSAGES": "C"}},
|
||||
{"check_rc": True, "environ_update": {"LANGUAGE": "C", "LC_ALL": "C"}},
|
||||
(
|
||||
0,
|
||||
"""
|
||||
@@ -733,7 +733,7 @@ Entitlement Type: Physical
|
||||
),
|
||||
(
|
||||
"subscription-manager list --consumed",
|
||||
{"check_rc": True, "environ_update": {"LANG": "C", "LC_ALL": "C", "LC_MESSAGES": "C"}},
|
||||
{"check_rc": True, "environ_update": {"LANGUAGE": "C", "LC_ALL": "C"}},
|
||||
(
|
||||
0,
|
||||
"""
|
||||
@@ -776,7 +776,7 @@ Entitlement Type: Physical
|
||||
(
|
||||
[
|
||||
"subscription-manager list --available",
|
||||
{"check_rc": True, "environ_update": {"LANG": "C", "LC_ALL": "C", "LC_MESSAGES": "C"}},
|
||||
{"check_rc": True, "environ_update": {"LANGUAGE": "C", "LC_ALL": "C"}},
|
||||
(
|
||||
0,
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user