-
Enhancement
-
Resolution: Fixed
-
P2
-
jt4.0
-
b04
-
generic
-
solaris_10
-
Verified
The com.sun.javatest.lib.ProcessCommand class override enviroment executing Runtime.exec() method. The new runtime contains only the next variables
XFILESEARCHPATH=/usr/dt/app-defaults/%L/Dt
NLSPATH=/usr/dt/lib/nls/msg/%L/%N.cat
Usualy it is not what we are going to test.
For instance, the libgnome library requiers the PATH variable to be set. It is because it tries to find the application specified as a gnome default application for the particular type of files.
So the class should preserve at least the PATH enviroment variable when another JVM is executed. Actually, I do not see a reason to remove any user variables at all.
XFILESEARCHPATH=/usr/dt/app-defaults/%L/Dt
NLSPATH=/usr/dt/lib/nls/msg/%L/%N.cat
Usualy it is not what we are going to test.
For instance, the libgnome library requiers the PATH variable to be set. It is because it tries to find the application specified as a gnome default application for the particular type of files.
So the class should preserve at least the PATH enviroment variable when another JVM is executed. Actually, I do not see a reason to remove any user variables at all.