Page MenuHomePhorge

D25809.1732441104.diff
No OneTemporary

D25809.1732441104.diff

diff --git a/src/parser/__tests__/ArcanistBundleTestCase.php b/src/parser/__tests__/ArcanistBundleTestCase.php
--- a/src/parser/__tests__/ArcanistBundleTestCase.php
+++ b/src/parser/__tests__/ArcanistBundleTestCase.php
@@ -11,8 +11,10 @@
}
private function loadDiff($old, $new) {
+ // This unit test must parse 'diff' output in a language independent way,
+ // so we need LC_ALL=C.
list($err, $stdout) = exec_manual(
- 'diff --unified=65535 --label %s --label %s -- %s %s',
+ 'LC_ALL=C diff --unified=65535 --label %s --label %s -- %s %s',
'file 9999-99-99',
'file 9999-99-99',
$this->getResourcePath($old),

File Metadata

Mime Type
text/plain
Expires
Sun, Nov 24, 09:38 (6 h, 56 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
992337
Default Alt Text
D25809.1732441104.diff (659 B)

Event Timeline