Add the system binary paths too since tests use them.
This commit is contained in:
parent
4e451dae6b
commit
8dd45d8c41
|
@ -53,7 +53,7 @@ impl::get(const std::string& name)
|
|||
if (val != NULL)
|
||||
return val;
|
||||
if (strcmp(n, "PATH") == 0)
|
||||
return "/bin:/usr/bin";
|
||||
return "/bin:/usr/bin:/sbin:/usr/sbin";
|
||||
|
||||
throw tools::system_error(IMPL_NAME "::set",
|
||||
"Cannot get environment variable '" + name +
|
||||
|
|
Loading…
Reference in New Issue