Uploaded image for project: 'Code Tools'
  1. Code Tools
  2. CODETOOLS-6517916

Process environment in sameVM mode should be the same as in otherVM mode

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • jtreg3.2.2_02
    • jtreg3.2.2_02
    • tools
    • 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.

            jjg Jonathan Gibbons
            martin Martin Buchholz
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: