Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion sdk/src/__tests__/sponsored-rooted-filesystem.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,12 @@ function directBroker(): TerminalCommandBroker {
start(request) {
const child = spawn(request.executable, request.args, {
cwd: request.cwd,
env: request.env,
// Pin the locale for the helper subprocess. A guard failure is asserted
// on the message coreutils prints, and coreutils translates that message
// ("El archivo ya existe"), so without this the test passes on the
// English CI runners and fails on any other locale. LC_ALL=C alone is
// enough: it takes precedence over LANG and LANGUAGE.
env: { ...request.env, LC_ALL: 'C' },
stdio: ['ignore', 'pipe', 'pipe'],
})
return {
Expand Down
Loading