Add the system binary paths too since tests use them.

This commit is contained in:
christos 2020-04-23 16:05:15 +00:00
parent 4e451dae6b
commit 8dd45d8c41
1 changed files with 1 additions and 1 deletions

View File

@ -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 +