Chromium Code Reviews
DescriptionFix test 'platform_executable_test'
If the PATH environmant variable is not passed when overriding the
exnironment for a spawned process on Linux a default is used.
From the man page for 'execvp':
The file is sought in the colon-separated list of directory
pathnames specified in the PATH environment variable. If this
variable isn't defined, the path list defaults to the current
directory followed by the list of directories returned by
confstr(_CS_PATH). (This confstr(3) call typically returns the
value "/bin:/usr/bin".)
If one have Dart installed in e.g. /usr/bin the test would fail, as
starting 'dart' would succeed.
R=kevmoo@google.com
BUG=
Committed: https://github.com/dart-lang/sdk/commit/99e9842ccc8b129306852c17ed970773446c818b
Patch Set 1 #
Messages
Total messages: 3 (0 generated)
|
|||||||||||||||||||