test/java/util/ResourceBundle/Control/ExpirationTest.sh

Print this page




  52 #
  53 
  54 # Check environment variables
  55 if [ "x$TESTJAVA" = "x" ]; then
  56     1>&2 echo "No TESTJAVA defined. exiting..."
  57     exit 1
  58 fi
  59 
  60 # Make sure that this test is run in C locale
  61 LANG=C
  62 export LANG
  63 LC_ALL=
  64 export LC_ALL
  65 
  66 : ${TESTCLASSES:=.}
  67 
  68 # YES if the platform has %s support in date
  69 HAS_S=NO
  70 
  71 case "`uname`" in
  72 Windows*)
  73     DEL=";"
  74     ;;
  75 SunOS)
  76     DEL=":"
  77     ;;
  78 Linux)
  79     DEL=":"
  80     HAS_S=YES
  81     ;;
  82 esac
  83 
  84 # Interval until resources are updated
  85 INTERVAL=20
  86 
  87 DATA=ExpirationData
  88 
  89 ROOT=${DATA}.properties
  90 JA=${DATA}_ja.properties
  91 DE=${DATA}_de.properties
  92 AT=${DATA}_de_AT.properties




  52 #
  53 
  54 # Check environment variables
  55 if [ "x$TESTJAVA" = "x" ]; then
  56     1>&2 echo "No TESTJAVA defined. exiting..."
  57     exit 1
  58 fi
  59 
  60 # Make sure that this test is run in C locale
  61 LANG=C
  62 export LANG
  63 LC_ALL=
  64 export LC_ALL
  65 
  66 : ${TESTCLASSES:=.}
  67 
  68 # YES if the platform has %s support in date
  69 HAS_S=NO
  70 
  71 case "`uname`" in
  72 Windows* | CYGWIN* )
  73     DEL=";"
  74     ;;
  75 SunOS)
  76     DEL=":"
  77     ;;
  78 Linux)
  79     DEL=":"
  80     HAS_S=YES
  81     ;;
  82 esac
  83 
  84 # Interval until resources are updated
  85 INTERVAL=20
  86 
  87 DATA=ExpirationData
  88 
  89 ROOT=${DATA}.properties
  90 JA=${DATA}_ja.properties
  91 DE=${DATA}_de.properties
  92 AT=${DATA}_de_AT.properties