1 ! Copyright (C) 2011 Doug Coleman.
2 ! See http://factorcode.org/license.txt for BSD license.
3 USING: environment io.standard-paths io.standard-paths.unix
5 IN: io.standard-paths.unix.tests
7 { f } [ "" find-in-path ] unit-test
9 "ls" find-in-path { "/bin/ls" "/usr/bin/ls" } member?
13 "/sbin:" "PATH" os-env append "PATH" [
15 { "/bin/ps" "/sbin/ps" "/usr/bin/ps" } member?