io.standard-paths.unix: ofc /bin/ps should be included...

modern-harvey2
Björn Lindqvist 2017-07-03 00:56:55 +02:00
parent 3735d63d6f
commit e9764621c9
1 changed files with 1 additions and 4 deletions

View File

@ -10,11 +10,8 @@ IN: io.standard-paths.unix.tests
] unit-test
{ t } [
! On Ubuntu, the path is ``/sbin/ifconfig``, however
! find-in-path uses the PATH environment variable which does
! not include this directory, so we do.
"/sbin:" "PATH" os-env append "PATH" [
"ps" find-in-path
{ "/sbin/ps" "/usr/bin/ps" } member?
{ "/bin/ps" "/sbin/ps" "/usr/bin/ps" } member?
] with-os-env
] unit-test