Print this page


Split Close
Expand all
Collapse all
          --- old/jdk/test/start-Xvfb.sh
          +++ new/jdk/test/start-Xvfb.sh
↓ open down ↓ 51 lines elided ↑ open up ↑
  52   52    # (probably 4131533/6505852) and some tests will loop endlessly
  53   53    # when they hit the display.  The workaround is:
  54   54    #  1) Ask for PseudoColor instead.
  55   55    #  2) Omit 32-bit depth.
  56   56    /usr/bin/nohup /usr/openwin/bin/Xvfb ${DISPLAY} -dev vfb screen 0 1280x1024x24 pixdepths 8 16 24 defclass PseudoColor > ${currentDir}/nohup.$$ 2>&1 &
  57   57  else
  58   58    # Linux...
  59   59    /usr/bin/nohup /usr/bin/X11/Xvfb -fbdir ${currentDir} -pixdepths 8 16 24 32 ${DISPLAY} > ${currentDir}/nohup.$$ 2>&1 &
  60   60  fi
  61   61  WM="/usr/bin/X11/fvwm2"
  62      -if [ ! -x ${WM} ] ; then
  63      -  WM="/opt/sfw/bin/fvwm2"
  64      -fi
  65   62  #
  66   63  # Wait for Xvfb to initialize:
  67   64  sleep 5
  68   65  #
  69   66  if [ -x "${WM}" ]; then
  70   67  # 2 JCK tests require a window manager
  71   68  # mwm fails (key name errors) and twm fails (hangs),
  72   69  # but fvwm2 works well.
  73   70    /usr/bin/nohup ${WM} -display ${DISPLAY} -replace -f /dev/null > ${currentDir}/nohup.$$ 2>&1 &
  74   71  else
↓ open down ↓ 13 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX