-
Bug
-
Resolution: Fixed
-
P3
-
jtreg3.2.2_02
-
None
-
fcs
-
generic
-
generic
-
Not verified
othervm and samevm mode should not have gratuitous differences.
Normally, when a test is running, there is a restricted process environment.
The same should be true in sameVM mode.
This can be done by passing an environment when javatest invokes itself recursively
to change to the scratch directory.
Here's a list of environment variables permitted on solaris-sparc
HOME=/u/martin
PRINTER=sca22p10
LPDEST=sca22p10
CLASSPATH=/u/martin/jct-tools/3.2.2_02/lib/javatest.jar:/u/martin/jct-tools/3.2.2_02/lib/jtreg.jar:/u/martin/src/toy/DummyTest/JTwork/classes:/u/martin/src/toy/DummyTest:/u/martin/ws/ovm/build/solaris-sparc/lib/tools.jar
XFILESEARCHPATH=/usr/dt/app-defaults/%L/Dt
PATH=/bin:/usr/bin
TZ=US/Pacific
NLSPATH=/usr/dt/lib/nls/msg/%L/%N.cat
DISPLAY=localhost:14.0
LD_LIBRARY_PATH=/u/martin/ws/ovm/build/solaris-sparc/lib/sparc/server:/u/martin/ws/ovm/build/solaris-sparc/lib/sparc:/u/martin/ws/ovm/build/solaris-sparc/../lib/sparc
This request is agnostic on whether/how the environment should be restricted,
merely that sameVM and otherVM mode should behave the same.
Normally, when a test is running, there is a restricted process environment.
The same should be true in sameVM mode.
This can be done by passing an environment when javatest invokes itself recursively
to change to the scratch directory.
Here's a list of environment variables permitted on solaris-sparc
HOME=/u/martin
PRINTER=sca22p10
LPDEST=sca22p10
CLASSPATH=/u/martin/jct-tools/3.2.2_02/lib/javatest.jar:/u/martin/jct-tools/3.2.2_02/lib/jtreg.jar:/u/martin/src/toy/DummyTest/JTwork/classes:/u/martin/src/toy/DummyTest:/u/martin/ws/ovm/build/solaris-sparc/lib/tools.jar
XFILESEARCHPATH=/usr/dt/app-defaults/%L/Dt
PATH=/bin:/usr/bin
TZ=US/Pacific
NLSPATH=/usr/dt/lib/nls/msg/%L/%N.cat
DISPLAY=localhost:14.0
LD_LIBRARY_PATH=/u/martin/ws/ovm/build/solaris-sparc/lib/sparc/server:/u/martin/ws/ovm/build/solaris-sparc/lib/sparc:/u/martin/ws/ovm/build/solaris-sparc/../lib/sparc
This request is agnostic on whether/how the environment should be restricted,
merely that sameVM and otherVM mode should behave the same.