From mandy.chung at oracle.com Fri Mar 4 15:34:12 2011 From: mandy.chung at oracle.com (Mandy Chung) Date: Fri, 04 Mar 2011 15:34:12 -0800 Subject: PATH not propagated to the test's JVM Message-ID: <4D7176F4.7000100@oracle.com> According to http://openjdk.java.net/jtreg/faq.html#question4.1, by design, PATH is not propagated into the test's JVM; instead, * Linux and Solaris: o PATH is set to /bin:/usr/bin * Windows: o PATH is set to the MKS or Cygwin toolkit binary directory What is the rationale behind of restricting the shell tests to use commands from /bin:/usr/bin? We have tests that depend on gawk which is not installed in /bin:/usr/bin on Solaris 10 by default (instead /opt/sfw/bin) unless I add a symlink or copy them. These tests fail if I use jtreg to run them. Thanks Mandy