ExpectIt icon indicating copy to clipboard operation
ExpectIt copied to clipboard

Use LANG=C in example

Open toolforger opened this issue 6 years ago • 4 comments

Incomplete fix: I don't know where to add the environment for the JSch example, and I haven't checked the code in the examples/ directory.

toolforger avatar Apr 09 '19 05:04 toolforger

Coverage Status

Coverage decreased (-0.2%) to 91.944% when pulling 89410044fbd73281476d99b8bcd815986c415237 on toolforger:patch-1 into 5acbe1f8f895fe1dbd63e29bf3ab8e5bbf0873c3 on Alexey1Gavrilov:master.

coveralls avatar Apr 09 '19 05:04 coveralls

Test failure is unrelated to the change.

toolforger avatar Apr 16 '19 05:04 toolforger

Can you please elaborate why LANG=C is needed in the example code?

agavrilov76 avatar Sep 15 '19 13:09 agavrilov76

LANG=C eliminates internationalization. E.g. on my machine, ls does not respond with total XXX but with insgesamt XXX, making the script fail.

toolforger avatar Sep 15 '19 14:09 toolforger