Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F2608434
D25809.1731181651.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Advanced/Developer...
View Handle
View Hovercard
Size
659 B
Referenced Files
None
Subscribers
None
D25809.1731181651.diff
View Options
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
Details
Attached
Mime Type
text/plain
Expires
Sat, Nov 9, 19:47 (18 h, 10 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
963247
Default Alt Text
D25809.1731181651.diff (659 B)
Attached To
Mode
D25809: ArcanistBundleTestCase: fix support of non-English environments
Attached
Detach File
Event Timeline
Log In to Comment